#include <http.h>
Inherits BazisLib::Network::HTTP::CHTTPHeader.

Public Member Functions | |
| CHTTPReplyHeader (unsigned ReplyCode=200, const std::string &HTTPMessage="OK", const std::string &ContentType="", const std::string &ContentLength="", const std::string &Location="") | |
| Create new request based on connection info. | |
| CHTTPReplyHeader (const ConstManagedPointer< AIAdvancedSocket > &pSocket) | |
| Read reply header from socket. | |
| bool | Send (const ConstManagedPointer< AISocket > &pSocket) |
| Sends the field set to a socket. | |
| ActionStatus | TranslateResult (std::string &redirectURL) |
| ULONGLONG | GetLength () |
| bool | IsChunked () |
| bool | IsPartial () |
| bool | Valid () |
| unsigned | GetReplyCode () |
Public Attributes | |
| unsigned | m_ReplyCode |
| std::string | m_HTTPVersion |
| std::string | m_HTTPMessage |
| unsigned | m_LastError |
Protected Member Functions | |
| bool | ParseFirstLine (const std::string &firstLine) |
The idea of this class is similar to the CHTTPRequestHeader. See its descriptions for details
| BazisLib::Network::HTTP::CHTTPReplyHeader::CHTTPReplyHeader | ( | unsigned | ReplyCode = 200, |
|
| const std::string & | HTTPMessage = "OK", |
|||
| const std::string & | ContentType = "", |
|||
| const std::string & | ContentLength = "", |
|||
| const std::string & | Location = "" | |||
| ) |
Create new request based on connection info.
| BazisLib::Network::HTTP::CHTTPReplyHeader::CHTTPReplyHeader | ( | const ConstManagedPointer< AIAdvancedSocket > & | pSocket | ) |
Read reply header from socket.
| ULONGLONG BazisLib::Network::HTTP::CHTTPReplyHeader::GetLength | ( | ) | [inline] |
| unsigned BazisLib::Network::HTTP::CHTTPReplyHeader::GetReplyCode | ( | ) | [inline] |
| bool BazisLib::Network::HTTP::CHTTPReplyHeader::IsChunked | ( | ) | [inline] |
| bool BazisLib::Network::HTTP::CHTTPReplyHeader::IsPartial | ( | ) | [inline] |
| bool BazisLib::Network::HTTP::CHTTPReplyHeader::ParseFirstLine | ( | const std::string & | firstLine | ) | [protected] |
| bool BazisLib::Network::HTTP::CHTTPReplyHeader::Send | ( | const ConstManagedPointer< AISocket > & | pSocket | ) |
| ActionStatus BazisLib::Network::HTTP::CHTTPReplyHeader::TranslateResult | ( | std::string & | redirectURL | ) |
| bool BazisLib::Network::HTTP::CHTTPReplyHeader::Valid | ( | ) | [inline] |