CL_HTTPClientConnection Class Reference
[clanNetwork Web]

HTTP client connection. More...

#include <http_client_connection.h>

List of all members.

Operations

void send_post (const CL_StringRef8 &url, const CL_StringRef8 &header_lines, const CL_DataBuffer &post_data, bool use_http_10=false)
void send_get (const CL_StringRef8 &url, const CL_StringRef8 &header_lines, bool use_http_10=false)
int receive_response (CL_String8 &out_status_text, CL_String8 &out_header_lines, CL_DataBuffer &out_data)
int receive_response (CL_String8 &out_status_text, CL_String8 &out_header_lines, CL_IODevice &out_data)
static CL_StringRef8 get_header_value (const CL_StringRef8 &name, const CL_StringRef8 &header_lines)

Public Member Functions

Construction
 CL_HTTPClientConnection ()
 CL_HTTPClientConnection (const CL_SocketName &remote)
 Constructs a HTTPClientConnection.
 CL_HTTPClientConnection (const CL_SocketName &remote, const CL_SocketName &local)
 Constructs a HTTPClientConnection.
 ~CL_HTTPClientConnection ()


Detailed Description

HTTP client connection.


Constructor & Destructor Documentation

CL_HTTPClientConnection::CL_HTTPClientConnection  ) 
 

CL_HTTPClientConnection::CL_HTTPClientConnection const CL_SocketName remote  ) 
 

Constructs a HTTPClientConnection.

Parameters:
remote = Socket Name

CL_HTTPClientConnection::CL_HTTPClientConnection const CL_SocketName remote,
const CL_SocketName local
 

Constructs a HTTPClientConnection.

Parameters:
remote = Socket Name
local = Socket Name

CL_HTTPClientConnection::~CL_HTTPClientConnection  ) 
 


Member Function Documentation

static CL_StringRef8 CL_HTTPClientConnection::get_header_value const CL_StringRef8 name,
const CL_StringRef8 header_lines
[static]
 

int CL_HTTPClientConnection::receive_response CL_String8 out_status_text,
CL_String8 out_header_lines,
CL_IODevice out_data
 

int CL_HTTPClientConnection::receive_response CL_String8 out_status_text,
CL_String8 out_header_lines,
CL_DataBuffer out_data
 

void CL_HTTPClientConnection::send_get const CL_StringRef8 url,
const CL_StringRef8 header_lines,
bool  use_http_10 = false
 

void CL_HTTPClientConnection::send_post const CL_StringRef8 url,
const CL_StringRef8 header_lines,
const CL_DataBuffer post_data,
bool  use_http_10 = false
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:38 2009 for ClanLib by  doxygen 1.4.6