cxxtools::json::HttpClient Class Reference

#include <cxxtools/json/httpclient.h>

Inheritance diagram for cxxtools::json::HttpClient:
cxxtools::RemoteClient

Public Member Functions

 HttpClient ()
 HttpClient (SelectorBase &selector)
 HttpClient (SelectorBase &selector, const std::string &addr, unsigned short port, const std::string &url, bool ssl=false)
 HttpClient (SelectorBase &selector, const net::AddrInfo &addrinfo, const std::string &url, bool ssl=false)
 HttpClient (SelectorBase &selector, const net::Uri &uri)
 HttpClient (const std::string &addr, unsigned short port, const std::string &url, bool ssl=false)
 HttpClient (const net::AddrInfo &addrinfo, const std::string &url, bool ssl=false)
 HttpClient (const net::Uri &uri)
 HttpClient (const HttpClient &)
HttpClientoperator= (const HttpClient &)
virtual ~HttpClient ()
void prepareConnect (const net::AddrInfo &addrinfo, const std::string &url, bool ssl=false)
void prepareConnect (const net::Uri &uri)
void prepareConnect (const std::string &addr, unsigned short port, const std::string &url, bool ssl=false)
void connect ()
void connect (const net::AddrInfo &addrinfo, const std::string &url, bool ssl=false)
void connect (const net::Uri &uri)
void connect (const std::string &addr, unsigned short port, const std::string &url, bool ssl=false)
void url (const std::string &url)
void auth (const std::string &username, const std::string &password)
void clearAuth ()
void setSelector (SelectorBase &selector)
void beginCall (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)
void endCall ()
void call (IComposer &r, IRemoteProcedure &method, IDecomposer **argv, unsigned argc)
Milliseconds timeout () const
void timeout (Milliseconds t)
Milliseconds connectTimeout () const
void connectTimeout (Milliseconds t)
const std::string & url () const
const IRemoteProcedureactiveProcedure () const
void cancel ()
void wait (Milliseconds msecs=WaitInfinite)
- Public Member Functions inherited from cxxtools::RemoteClient
virtual ~RemoteClient ()

Additional Inherited Members

- Static Public Attributes inherited from cxxtools::RemoteClient
static const std::size_t WaitInfinite = static_cast<std::size_t>(-1)

Constructor & Destructor Documentation

cxxtools::json::HttpClient::HttpClient ( )
inline
cxxtools::json::HttpClient::HttpClient ( SelectorBase selector)
inlineexplicit
cxxtools::json::HttpClient::HttpClient ( SelectorBase selector,
const std::string &  addr,
unsigned short  port,
const std::string &  url,
bool  ssl = false 
)
cxxtools::json::HttpClient::HttpClient ( SelectorBase selector,
const net::AddrInfo addrinfo,
const std::string &  url,
bool  ssl = false 
)
cxxtools::json::HttpClient::HttpClient ( SelectorBase selector,
const net::Uri uri 
)
cxxtools::json::HttpClient::HttpClient ( const std::string &  addr,
unsigned short  port,
const std::string &  url,
bool  ssl = false 
)
cxxtools::json::HttpClient::HttpClient ( const net::AddrInfo addrinfo,
const std::string &  url,
bool  ssl = false 
)
cxxtools::json::HttpClient::HttpClient ( const net::Uri uri)
explicit
cxxtools::json::HttpClient::HttpClient ( const HttpClient )
virtual cxxtools::json::HttpClient::~HttpClient ( )
virtual

Member Function Documentation

const IRemoteProcedure* cxxtools::json::HttpClient::activeProcedure ( ) const
virtual
void cxxtools::json::HttpClient::auth ( const std::string &  username,
const std::string &  password 
)
void cxxtools::json::HttpClient::beginCall ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
virtual
void cxxtools::json::HttpClient::call ( IComposer r,
IRemoteProcedure method,
IDecomposer **  argv,
unsigned  argc 
)
virtual
void cxxtools::json::HttpClient::cancel ( )
virtual
void cxxtools::json::HttpClient::clearAuth ( )
void cxxtools::json::HttpClient::connect ( )
void cxxtools::json::HttpClient::connect ( const net::AddrInfo addrinfo,
const std::string &  url,
bool  ssl = false 
)
inline
void cxxtools::json::HttpClient::connect ( const net::Uri uri)
inline
void cxxtools::json::HttpClient::connect ( const std::string &  addr,
unsigned short  port,
const std::string &  url,
bool  ssl = false 
)
inline
Milliseconds cxxtools::json::HttpClient::connectTimeout ( ) const
virtual
void cxxtools::json::HttpClient::connectTimeout ( Milliseconds  t)
virtual
void cxxtools::json::HttpClient::endCall ( )
virtual
HttpClient& cxxtools::json::HttpClient::operator= ( const HttpClient )
void cxxtools::json::HttpClient::prepareConnect ( const net::AddrInfo addrinfo,
const std::string &  url,
bool  ssl = false 
)
void cxxtools::json::HttpClient::prepareConnect ( const net::Uri uri)
void cxxtools::json::HttpClient::prepareConnect ( const std::string &  addr,
unsigned short  port,
const std::string &  url,
bool  ssl = false 
)
void cxxtools::json::HttpClient::setSelector ( SelectorBase selector)
Milliseconds cxxtools::json::HttpClient::timeout ( ) const
virtual
void cxxtools::json::HttpClient::timeout ( Milliseconds  t)
virtual
void cxxtools::json::HttpClient::url ( const std::string &  url)
const std::string& cxxtools::json::HttpClient::url ( ) const
void cxxtools::json::HttpClient::wait ( Milliseconds  msecs = WaitInfinite)
virtual

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