CHttpClient Class Reference

List of all members.

Public Member Functions

virtual ~CHttpClient ()
void StartClientL ()
virtual TBool GetNextDataPart (TPtrC8 &aDataPart)
virtual void ReleaseData ()
virtual TInt OverallDataSize ()
virtual TInt Reset ()
virtual TBool GetCredentialsL (const TUriC8 &aURI, RString aRealm, RStringF aAuthenticationType, RString &aUsername, RString &aPassword)

Static Public Member Functions

static CHttpClientNewLC ()
static CHttpClientNewL ()

Protected Member Functions

 CHttpClient ()
void ConstructL ()


Detailed Description

The example http client. Intended as a simple example of an http client. It is a simple text console app that allows basic http methods to be tested. It allows data for the post method to be supplied via a file or built up dynamically. It also allows responses to be saved to a file

It is derived from MHTTPAuthenticationCallback to allow access to servers that require a user to submit a username and password to access protected sections of that server.

Definition at line 48 of file httpexampleclient.h.


Member Function Documentation

TBool CHttpClient::GetCredentialsL ( const TUriC8 &  aURI,
RString  aRealm,
RStringF  aAuthenticationType,
RString &  aUsername,
RString &  aPassword 
) [virtual]

Called when a authenticated page is requested Asks the user for a username and password that would be appropriate for the url that was supplied.

Definition at line 402 of file httpexampleclient.cpp.


Generated on Thu Jan 21 10:33:05 2010 for TB10.1 Example Applications by  doxygen 1.5.3