![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cHttpHeader.h>
Public Member Functions | |
cHttpHeaderServer (HTTPRET_TYPE eRetCode=HTTPRET_OK_DATA) | |
HRESULT | SetServerRetCode (const char *pszPrefixData, StrLen_t iPrefixLen) |
HRESULT | WriteHeadServer (cStreamOutput *pClient) const |
![]() | |
ITERATE_t | get_HeadTagQty () const |
bool | HasHeadTag (HTTP_TAG_TYPE eTag) const |
cStringA | FindHeadTag (HTTP_TAG_TYPE eTag) const |
cTimeInt | FindHeadTagTime (HTTP_TAG_TYPE eTag) const |
int | FindHeadTagInt (HTTP_TAG_TYPE eTag) const |
ITERATE_t | AddHeadTag (HTTP_TAG_TYPE eTag, cStringA sVal) |
ITERATE_t | AddHeadTagTime (HTTP_TAG_TYPE eTag, cTimeInt tTime) |
ITERATE_t | AddHeadTagInt (HTTP_TAG_TYPE eTag, int iVal) |
HRESULT | ReadHeader (cStreamInput *pInp, OUT cStringA &sHeadVerb) |
UNITTEST_FRIEND (cHttpHeader) | |
Public Attributes | |
HTTPRET_TYPE | m_eRetCode |
What does the server respond with? More... | |
Additional Inherited Members | |
![]() | |
static const int | k_MaxTags = 256 |
Arbitrary max number of tags for a single request/response page. More... | |
![]() | |
HRESULT | ReadHeadLine (const char *pData, StrLen_t iLen) |
HRESULT | WriteHeadTags (cStreamOutput *pClient) const |
cHttpHeader () noexcept | |
~cHttpHeader () | |
![]() | |
cArraySortStructHash< cHttpHeadTag > | m_aTags |
Tags in the HTTP header. More... | |
HTTP response header sent from server back to client.
|
inline |
HRESULT GrayLib::cHttpHeaderServer::SetServerRetCode | ( | const char * | pszPrefixData, |
StrLen_t | iPrefixLen | ||
) |
HRESULT GrayLib::cHttpHeaderServer::WriteHeadServer | ( | cStreamOutput * | pClient | ) | const |
Send server response header back to client. e.g. "HTTP/1.1 404 Object Not Found"
HTTPRET_TYPE GrayLib::cHttpHeaderServer::m_eRetCode |
What does the server respond with?