![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cHttpCommon.h>
Public Member Functions | |
UNITTEST_FRIEND (cHttpCommon) | |
Static Public Member Functions | |
static HTTPVERB_TYPE GRAYCALL | FindVerb (const char *pszVerb) |
static HTTPRET_TYPE GRAYCALL | GetErrorHttpRet (HRESULT hRes) |
static HRESULT GRAYCALL | GetErrorHResult (HTTPRET_TYPE eRetCode) |
static cStringA GRAYCALL | GetErrorText (HTTPRET_TYPE eRetCode) |
Static Public Attributes | |
static const size_t | k_CR_SIZE = 2 |
sizeof HTTP_CR "\r\n" More... | |
static const char * | k_Space = " " |
" " More... | |
static const char *const | k_szVerbs [HTTPVERB_QTY+1] |
static const cPairT< HTTPRET_TYPE, HRESULT > | k_HttpReturnErrors [] |
Both client and server use these.
|
static |
http://en.wikipedia.org/wiki/HTTP Get the HTTP 'verb' - what they want to do with the connection.
|
static |
Make the HTTP code into a HRESULT type code. (e.g. HRESULT_WIN32_C(ERROR_INTERNAL_ERROR)) else use a FACILITY_HTTP code.
|
static |
|
static |
get HTTP error code string description.
GrayLib::cHttpCommon::UNITTEST_FRIEND | ( | cHttpCommon | ) |
|
static |
sizeof HTTP_CR "\r\n"
|
static |
|
static |
" "
|
static |