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

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

#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.
 

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.