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

Detailed Description

The HttpCommand class is a container class for the HttpRequest and HttpResponse command pair.

An instance of the HttpServer class contains N HttpCommand instances, where N is set with method HttpServerConfig::setNoOfHttpCommands.

#include <HttpServer.h>

Public Member Functions

HttpRequestgetRequest ()
 Get the request object.
 
HttpResponsegetResponse ()
 Get the response object.
 
struct HttpConnectiongetConnection ()
 Get the current connection object that the HttpCommand instance is bound with.
 
struct HttpServergetServer ()
 Get the web-server object.