CRequest Class Reference

class CRequest : public CMessage

An HTTP Request. Provides the real implementation of a request, as proxied in the public API by RHTTPRequest . RHTTPRequest

Inherits from

Constructor & Destructor Documentation

CRequest()

CRequest ( ) [private, inline]

Constructor

~CRequest()

~CRequest ( )

Destructor

Member Functions Documentation

ConstructL(RStringF, const TUriC8 &, CTransaction *)

void ConstructL ( RStringF aMethod,
const TUriC8 & aURI,
CTransaction * aTransaction
) [private]

Does 2 phase construction

Parameters

RStringF aMethod
const TUriC8 & aURI
CTransaction * aTransaction

Handle()

RHTTPRequest Handle ( ) [inline]

Obtain a handle for this request that can be used by the client.

Method()

const RStringF & Method ( ) const [inline]

Returns the method

Method()

RStringF & Method ( ) [inline]

Returns the method (as a reference so you can set it)

NewL(RStringF, const TUriC8 &, CTransaction *)

CRequest * NewL ( RStringF aMethod,
const TUriC8 & aURI,
CTransaction * aTransaction
) [static]

Constructs a request

Parameters

RStringF aMethod
const TUriC8 & aURI
CTransaction * aTransaction

URI()

CUri8 *& URI ( ) [inline]

Returns the URI (as a reference so you can set it)

Member Data Documentation

RStringF iMethod

RStringF iMethod [private]

The method

CUri8 * iURI

CUri8 * iURI [private]

The URI