The C++ framework for developing highly scalable, high performance servers on Windows platforms.

JetByteTools::HTTP Namespace Reference


Classes

class  CHTTP_1_0_Parser
class  CHTTP_1_0_RequestParser
class  CHTTP_1_0_ResponseParser
class  CHTTPConnection
class  CHTTPException
class  CHTTPWriteException
class  CHTTPFileResource
class  CHTTPFileResourceData
class  CHTTPHeaders
class  CHTTPMemoryResource
class  CHTTPMemoryResourceData
class  CHTTPRequest
class  CHTTPRequestProcessor
class  CHTTPResource
class  CHTTPResourceManager
class  CHTTPResponse
class  CHTTPSocketServer
class  IHTTPRequestProcessor
class  IHTTPResource
class  IHTTPResourceData
class  IHTTPResponseProcessor
class  IHTTPStream
class  IManageHTTPResourceData
class  IManageResources

Typedefs

typedef
JetByteTools::Core::TReferenceCountedSmartPointer
< CHTTPMemoryResource
CSmartHTTPMemoryResource
typedef
JetByteTools::Core::TReferenceCountedSmartPointer
< CHTTPMemoryResourceData
CSmartHTTPMemoryResourceData
typedef
JetByteTools::Core::TReferenceCountedSmartPointer
< IHTTPResource
CSmartHTTPResource
typedef
JetByteTools::Core::TReferenceCountedSmartPointer
< IHTTPResourceData
CSmartHTTPResourceData

Functions

static const string s_lineEnd ("\r\n")
static const BYTE s_RTSPInterleavedEscapeCharacter (0x24)
static const DWORD s_RTSPInterleavedHeaderLength (4)
static void SplitHeader (const string &header, string &key, string &value)
static string DecodeUri (const string &uri)
static string GetPath (const string &uri)
static string GetQueryString (const string &uri)
static string GetOptionalHeaderWithDefault (const CHTTPHeaders &headers, const string &header, const string &defaultValue)

Variables

static const DWORD s_lineEndLength = static_cast<DWORD>(s_lineEnd.length())
static const DWORD NOT_FOUND = 0xFFFFFFFF
static const size_t s_lineEndLength = s_lineEnd.length()
static const std::string s_HTTPMethodOPTIONS = "OPTIONS"
static const std::string s_HTTPMethodGET = "GET"
static const std::string s_HTTPMethodHEAD = "HEAD"
static const std::string s_HTTPMethodPOST = "POST"
static const std::string s_HTTPMethodPUT = "PUT"
static const std::string s_HTTPMethodDELETE = "DELETE"
static const std::string s_HTTPMethodTRACE = "TRACE"
static const std::string s_HTTPMethodCONNECT = "CONNECT"
static const DWORD s_maxHTTPMethodLength


Typedef Documentation


Function Documentation

static string DecodeUri ( const string &  uri  )  [static]

static string GetOptionalHeaderWithDefault ( const CHTTPHeaders &  headers,
const string &  header,
const string &  defaultValue 
) [static]

static string GetPath ( const string &  uri  )  [static]

static string GetQueryString ( const string &  uri  )  [static]

static const string JetByteTools::HTTP::s_lineEnd ( "\r\n"   )  [static]

static const BYTE JetByteTools::HTTP::s_RTSPInterleavedEscapeCharacter ( 0x24   )  [static]

static const DWORD JetByteTools::HTTP::s_RTSPInterleavedHeaderLength (  )  [static]

static void SplitHeader ( const string &  header,
string &  key,
string &  value 
) [static]


Variable Documentation

const DWORD NOT_FOUND = 0xFFFFFFFF [static]

const std::string s_HTTPMethodCONNECT = "CONNECT" [static]

const std::string s_HTTPMethodDELETE = "DELETE" [static]

const std::string s_HTTPMethodGET = "GET" [static]

const std::string s_HTTPMethodHEAD = "HEAD" [static]

const std::string s_HTTPMethodOPTIONS = "OPTIONS" [static]

const std::string s_HTTPMethodPOST = "POST" [static]

const std::string s_HTTPMethodPUT = "PUT" [static]

const std::string s_HTTPMethodTRACE = "TRACE" [static]

const size_t s_lineEndLength = s_lineEnd.length() [static]

const DWORD s_lineEndLength = static_cast<DWORD>(s_lineEnd.length()) [static]

const DWORD s_maxHTTPMethodLength [static]

Initial value:

 static_cast<DWORD>(std::max(s_HTTPMethodOPTIONS.length(),
                                                              std::max(s_HTTPMethodGET.length(),
                                                              std::max(s_HTTPMethodHEAD.length(),
                                                              std::max(s_HTTPMethodPOST.length(),
                                                              std::max(s_HTTPMethodPUT.length(),
                                                              std::max(s_HTTPMethodDELETE.length(),
                                                              std::max(s_HTTPMethodTRACE.length(),
                                                                       s_HTTPMethodCONNECT.length()))))))))


Generated on Sun Sep 12 19:09:12 2021 for The Server Framework - v7.4 by doxygen 1.5.3