HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_WebServerRequest Class Reference

#include <HOM_WebServerRequest.h>

Public Member Functions

 HOM_WebServerRequest (const NET_HTTPRequest &request)
 
 ~HOM_WebServerRequest ()
 
std::string __repr__ ()
 
std::string method ()
 
std::string path ()
 
std::string queryString ()
 
std::string body ()
 
std::string contentType ()
 
std::string contentLength ()
 
std::string protocol ()
 
std::string host ()
 
std::map< std::string,
std::string
headers ()
 
std::map< std::string,
std::string
POST ()
 
std::map< std::string,
std::string
GET ()
 
std::map< std::string,
std::string
cookies ()
 
std::map< std::string,
HOM_ElemPtr
< HOM_WebServerUploadedFile > > 
files ()
 
bool isSecure ()
 
int port ()
 

Public Attributes

NET_HTTPRequest myRequest
 

Detailed Description

Definition at line 23 of file HOM_WebServerRequest.h.

Constructor & Destructor Documentation

HOM_WebServerRequest::HOM_WebServerRequest ( const NET_HTTPRequest request)
inline

Definition at line 27 of file HOM_WebServerRequest.h.

HOM_WebServerRequest::~HOM_WebServerRequest ( )
inline

Definition at line 31 of file HOM_WebServerRequest.h.

Member Function Documentation

std::string HOM_WebServerRequest::__repr__ ( )
std::string HOM_WebServerRequest::body ( )
inline

Definition at line 45 of file HOM_WebServerRequest.h.

std::string HOM_WebServerRequest::contentLength ( )
inline

Definition at line 49 of file HOM_WebServerRequest.h.

std::string HOM_WebServerRequest::contentType ( )
inline

Definition at line 47 of file HOM_WebServerRequest.h.

std::map<std::string, std::string> HOM_WebServerRequest::cookies ( )
std::map<std::string, HOM_ElemPtr<HOM_WebServerUploadedFile> > HOM_WebServerRequest::files ( )
std::map<std::string, std::string> HOM_WebServerRequest::GET ( )
std::map<std::string, std::string> HOM_WebServerRequest::headers ( )
std::string HOM_WebServerRequest::host ( )
inline

Definition at line 53 of file HOM_WebServerRequest.h.

bool HOM_WebServerRequest::isSecure ( )
inline

Definition at line 62 of file HOM_WebServerRequest.h.

std::string HOM_WebServerRequest::method ( )
inline

Definition at line 36 of file HOM_WebServerRequest.h.

std::string HOM_WebServerRequest::path ( )
inline

Definition at line 39 of file HOM_WebServerRequest.h.

int HOM_WebServerRequest::port ( )
inline

Definition at line 65 of file HOM_WebServerRequest.h.

std::map<std::string, std::string> HOM_WebServerRequest::POST ( )
std::string HOM_WebServerRequest::protocol ( )
inline

Definition at line 51 of file HOM_WebServerRequest.h.

std::string HOM_WebServerRequest::queryString ( )
inline

Definition at line 42 of file HOM_WebServerRequest.h.

Member Data Documentation

NET_HTTPRequest HOM_WebServerRequest::myRequest

Definition at line 69 of file HOM_WebServerRequest.h.


The documentation for this class was generated from the following file: