Barracuda Application Server C/C++ Reference
NO
HttpServerConfig Struct Reference

Detailed Description

Use an instance of this class if you want to override the default web-server parameters.

An instance of this class can be created on the stack in a function. The object is of no use after the call to the HttpServer constructor. You should not create an instance of this class unless you want to change the default parameters in an HttpServer instance.

#include <HttpServer.h>

Public Member Functions

 HttpServerConfig ()
 The constructor sets up the default parameters. More...
 
int setRequest (S16 min, S16 max)
 Set the size of the HTTP request buffer. More...
 
int setResponseHeader (U16 min, U16 max)
 Set the size of the HTTP response header buffer. More...
 
int setResponseData (U16 size)
 The HttpResponse object stores formatted data in the response data buffer. More...
 
int setCommit (U16 size)
 Set the size of the HTTP response commit buffer. More...
 
int setNoOfHttpCommands (U16 size)
 The number of HttpCommand instances created by the web-server. More...
 
int setNoOfHttpConnections (U16 size)
 Number of HttpConnection instances. More...
 
int setMaxSessions (U16 size)
 Maximum allowed active HttpSession objects. More...