#include <http.h>
Public Member Functions | |
bool | UseProxy () const |
CHTTPConnectInfo (const std::string &Host, const std::string &Path, unsigned Port=0, const std::string &RequestHost="", unsigned RequestType=HTTP_REQUEST_GET, bool UseSSL=false, bool UseHTTP10=false, const std::string &ProxyHost="", unsigned ProxyPort=0) | |
CHTTPConnectInfo (const std::string &URL, unsigned ProxyPort=0, const std::string &ProxyHost="") | |
std::string | MakeURL () const |
bool | Valid () const |
ManagedPointer< AIAdvancedSocket > | CreateConnection () |
Public Attributes | |
std::string | m_Host |
unsigned | m_Port |
std::string | m_Path |
std::string | m_RequestHost |
bool | m_UseSSL |
bool | m_UseHTTP10 |
unsigned | m_RequestType |
std::string | m_ProxyHost |
unsigned | m_ProxyPort |
This class contains all the information that is required to establish a HTTP connection and to build a HTTP request header. This class is internally used by other HTTP-related classes.
BazisLib::Network::HTTP::CHTTPConnectInfo::CHTTPConnectInfo | ( | const std::string & | Host, | |
const std::string & | Path, | |||
unsigned | Port = 0 , |
|||
const std::string & | RequestHost = "" , |
|||
unsigned | RequestType = HTTP_REQUEST_GET , |
|||
bool | UseSSL = false , |
|||
bool | UseHTTP10 = false , |
|||
const std::string & | ProxyHost = "" , |
|||
unsigned | ProxyPort = 0 | |||
) |
BazisLib::Network::HTTP::CHTTPConnectInfo::CHTTPConnectInfo | ( | const std::string & | URL, | |
unsigned | ProxyPort = 0 , |
|||
const std::string & | ProxyHost = "" | |||
) |
ManagedPointer<AIAdvancedSocket> BazisLib::Network::HTTP::CHTTPConnectInfo::CreateConnection | ( | ) |
std::string BazisLib::Network::HTTP::CHTTPConnectInfo::MakeURL | ( | ) | const |
bool BazisLib::Network::HTTP::CHTTPConnectInfo::UseProxy | ( | ) | const [inline] |
bool BazisLib::Network::HTTP::CHTTPConnectInfo::Valid | ( | ) | const |