HTTP Class Reference

#include <HTTP.h>

List of all members.

Public Member Functions

 HTTP ()
 ~HTTP ()
bool Parse (char *httpReq, char *method, char *uri, char *httpVer)
int Status (char *dest, HTTPStatus st)
int HeaderField (char *dest, HTTPHeader hdr, char *value)

Private Attributes

char buffer [BUFSIZE]

Static Private Attributes

const int MAX_HEADER_SIZE = 2048
const int BUFSIZE = MAX_HEADER_SIZE + 3


Constructor & Destructor Documentation

HTTP::HTTP  )  [inline]
 

Definition at line 43 of file HTTP.h.

HTTP::~HTTP  )  [inline]
 

Definition at line 44 of file HTTP.h.


Member Function Documentation

int HTTP::HeaderField char *  dest,
HTTPHeader  hdr,
char *  value
 

Definition at line 95 of file HTTP.cc.

References _http_header, buffer, memcpy(), and http_code::str.

Referenced by W3AIBO::HTTPResponse().

bool HTTP::Parse char *  httpReq,
char *  method,
char *  uri,
char *  httpVer
 

Definition at line 46 of file HTTP.cc.

References memcpy().

Referenced by W3AIBO::ProcessHTTPRequest().

int HTTP::Status char *  dest,
HTTPStatus  st
 

Definition at line 83 of file HTTP.cc.

References _http_status, buffer, memcpy(), http_code::num, and http_code::str.

Referenced by W3AIBO::HTTPResponse().


Member Data Documentation

char HTTP::buffer[BUFSIZE] [private]
 

Definition at line 55 of file HTTP.h.

Referenced by HeaderField(), and Status().

const int HTTP::BUFSIZE = MAX_HEADER_SIZE + 3 [static, private]
 

Definition at line 53 of file HTTP.h.

const int HTTP::MAX_HEADER_SIZE = 2048 [static, private]
 

Definition at line 52 of file HTTP.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:33 2007 for openSDK by  doxygen 1.3.9.1