Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::HTTPClient Class Reference
[Networking library]

HyperText-Transfer-Protocol client class. More...

#include <phttpclient.h>

Inheritance diagram for P::HTTPClient:

P::StreamSocket P::Socket P::IODevice List of all members.

Public Member Functions

 HTTPClient (int domain) throw (IOError)
 HTTPClient (const NetworkAddress &addr, port_t port) throw (IOError)
virtual ~HTTPClient () throw ()
void connect (const NetworkAddress &addr, port_t port) throw (IOError)
void sendRequest (const HTTPRequest &req) throw (IOError)
std::auto_ptr< HTTPResponsereadResponse () throw (IOError)
size_t readBody (const HTTPResponse &resp, char *buffer, size_t size)

Detailed Description

HyperText-Transfer-Protocol client class.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 361 of file phttpclient.h.


Constructor & Destructor Documentation

P::HTTPClient::HTTPClient int  domain  )  throw (IOError)
 

P::HTTPClient::HTTPClient const NetworkAddress addr,
port_t  port
throw (IOError)
 

virtual P::HTTPClient::~HTTPClient  )  throw () [virtual]
 


Member Function Documentation

void P::HTTPClient::connect const NetworkAddress addr,
port_t  port
throw (IOError) [inline]
 

Reimplemented from P::StreamSocket.

Definition at line 369 of file phttpclient.h.

size_t P::HTTPClient::readBody const HTTPResponse resp,
char *  buffer,
size_t  size
 

std::auto_ptr<HTTPResponse> P::HTTPClient::readResponse  )  throw (IOError)
 

void P::HTTPClient::sendRequest const HTTPRequest req  )  throw (IOError)
 


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:33 2004 for P::Classes by doxygen 1.3.3