Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
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

HttpRequest * getRequest ()
 Get the request object. More...
 
HttpResponse * getResponse ()
 Get the response object. More...
 
struct HttpConnection * getConnection ()
 Get the current connection object that the HttpCommand instance is bound with. More...
 
struct HttpServer * getServer ()
 Get the web-server object. More...