From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/class_http_request.html | 766 +++++++++++++++++++++++++++++++ 1 file changed, 766 insertions(+) create mode 100644 Doc/doxygen/html/class_http_request.html (limited to 'Doc/doxygen/html/class_http_request.html') diff --git a/Doc/doxygen/html/class_http_request.html b/Doc/doxygen/html/class_http_request.html new file mode 100644 index 0000000..8f1ca63 --- /dev/null +++ b/Doc/doxygen/html/class_http_request.html @@ -0,0 +1,766 @@ + + + + + +Starshatter_Open: HttpRequest Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
HttpRequest Class Reference
+
+
+ +

#include <HttpServer.h>

+ +

List of all members.

+ + + +

+Public Types

enum  METHOD {
+  HTTP_OPTIONS, +HTTP_GET, +HTTP_HEAD, +HTTP_POST, +
+  HTTP_PUT, +HTTP_DELETE, +HTTP_TRACE, +HTTP_CONNECT +
+ }
+ + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 HttpRequest (const char *request=0)
 ~HttpRequest ()
 operator Text ()
void ParseRequest (Text request)
void ParseCookie (const char *param)
int Method () const
Text URI () const
Text Content () const
Text RequestLine () const
List< HttpParam > & GetQuery ()
List< HttpParam > & GetHeaders ()
List< HttpParam > & GetCookies ()
NetAddr GetClientAddr () const
void SetClientAddr (const NetAddr &a)
Text GetParam (const char *name)
Text GetHeader (const char *name)
void SetHeader (const char *name, const char *value)
void AddHeader (const char *name, const char *value)
Text GetCookie (const char *name)
void SetCookie (const char *name, const char *value)
void AddCookie (const char *name, const char *value)
Text DecodeParam (const char *value)
+ + + +

+Static Public Member Functions

static const char * TYPENAME ()
static Text EncodeParam (const char *value)
+

Detailed Description

+
+

Definition at line 71 of file HttpServer.h.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum HttpRequest::METHOD
+
+
Enumerator:
+ + + + + + + + +
HTTP_OPTIONS  +
HTTP_GET  +
HTTP_HEAD  +
HTTP_POST  +
HTTP_PUT  +
HTTP_DELETE  +
HTTP_TRACE  +
HTTP_CONNECT  +
+
+
+ +

Definition at line 76 of file HttpServer.h.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
HttpRequest::HttpRequest (const char * request = 0)
+
+ +

Definition at line 216 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + + + +
HttpRequest::~HttpRequest ()
+
+ +

Definition at line 223 of file HttpServer.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void HttpRequest::AddCookie (const char * name,
const char * value 
)
+
+ +

Definition at line 544 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void HttpRequest::AddHeader (const char * name,
const char * value 
)
+
+ +

Definition at line 502 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Text HttpRequest::Content () const
+
+inline
+
+ +

Definition at line 97 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + + + + +
Text HttpRequest::DecodeParam (const char * value)
+
+ +

Definition at line 554 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Text HttpRequest::EncodeParam (const char * value)
+
+static
+
+ +

Definition at line 607 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
NetAddr HttpRequest::GetClientAddr () const
+
+inline
+
+ +

Definition at line 104 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + + + + +
Text HttpRequest::GetCookie (const char * name)
+
+ +

Definition at line 512 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
List<HttpParam>& HttpRequest::GetCookies ()
+
+inline
+
+ +

Definition at line 102 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + + + + +
Text HttpRequest::GetHeader (const char * name)
+
+ +

Definition at line 470 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
List<HttpParam>& HttpRequest::GetHeaders ()
+
+inline
+
+ +

Definition at line 101 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + + + + +
Text HttpRequest::GetParam (const char * name)
+
+ +

Definition at line 454 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
List<HttpParam>& HttpRequest::GetQuery ()
+
+inline
+
+ +

Definition at line 100 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
int HttpRequest::Method () const
+
+inline
+
+ +

Definition at line 95 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + + + +
HttpRequest::operator Text ()
+
+ +

Definition at line 670 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void HttpRequest::ParseCookie (const char * param)
+
+ +

Definition at line 397 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void HttpRequest::ParseRequest (Text request)
+
+ +

Definition at line 233 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Text HttpRequest::RequestLine () const
+
+inline
+
+ +

Definition at line 98 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void HttpRequest::SetClientAddr (const NetAddra)
+
+inline
+
+ +

Definition at line 105 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void HttpRequest::SetCookie (const char * name,
const char * value 
)
+
+ +

Definition at line 526 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void HttpRequest::SetHeader (const char * name,
const char * value 
)
+
+ +

Definition at line 484 of file HttpServer.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static const char* HttpRequest::TYPENAME ()
+
+inlinestatic
+
+ +

Definition at line 74 of file HttpServer.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Text HttpRequest::URI () const
+
+inline
+
+ +

Definition at line 96 of file HttpServer.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.1