sptk2 logo
SPTK Home Page
Public Member Functions | Static Public Member Functions | List of all members
sptk::HttpProxy Class Reference
Inheritance diagram for sptk::HttpProxy:
sptk::Proxy

Public Member Functions

SOCKET connect (const Host &destination, bool blockingMode, std::chrono::milliseconds timeout) override
 
void sendRequest (const Host &destination, const std::shared_ptr< TCPSocket > &socket, const String &method) const
 
 Proxy (const Host &host, const String &username="", const String &password="")
 
- Public Member Functions inherited from sptk::Proxy
 Proxy (const Host &host, const String &username="", const String &password="")
 
virtual SOCKET connect (const Host &destination, bool blockingMode, std::chrono::milliseconds timeout)=0
 

Static Public Member Functions

static bool getDefaultProxy (Host &proxyHost, String &proxyUser, String &proxyPassword)
 
static bool readResponse (const std::shared_ptr< TCPSocket > &socket)
 

Additional Inherited Members

- Protected Attributes inherited from sptk::Proxy
const Host m_host
 
const String m_username
 
const String m_password
 

Member Function Documentation

◆ connect()

SOCKET sptk::HttpProxy::connect ( const Host destination,
bool  blockingMode,
std::chrono::milliseconds  timeout 
)
overridevirtual

Implements sptk::Proxy.


The documentation for this class was generated from the following file:

Fri Oct 14 2022 09:58:43: SPTK 5.4.1