diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_http_client.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_http_client.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,106 @@ + + +TB10.1 Example Applications: CHttpClient Class Reference + + + + +

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
+ +