CResponse Class Reference

class CResponse : public CMessage

An HTTP Response. Provides the real implementation of a response, as proxied in the public API by RHTTPResponse . RHTTPResponse

Inherits from

Constructor & Destructor Documentation

CResponse()

CResponse ( ) [private, inline]

Constructor

~CResponse()

~CResponse ( )

Destructor

Member Functions Documentation

Handle()

RHTTPResponse Handle ( ) [inline]

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

NewL(CTransaction *)

CResponse * NewL ( CTransaction * aTransaction ) [static, inline]

Constructs a response

Parameters

CTransaction * aTransaction

Status()

TInt & Status ( ) [inline]

Returns the status (returned as a reference; use this call to set it)

Status()

const TInt & Status ( ) const [inline]

Returns the status

StatusString()

RStringF & StatusString ( ) [inline]

Returns the status string (returned as a reference, which you can set)

StatusString()

const RStringF & StatusString ( ) const [inline]

Returns the status string

Version()

TVersion & Version ( ) [inline]

Returns the HTTP version (returned as a reference, which you can set)

Version()

const TVersion & Version ( ) const [inline]

Returns the HTTP version

Member Data Documentation

TInt iStatus

TInt iStatus [private]

The HTTP status code obtained from the HTTP server's response

RStringF iStatusString

RStringF iStatusString [private]

The HTTP status description string obtained from the HTTP server's response

TVersion iVersion

TVersion iVersion [private]

The HTTP version number (major/minor) obtained from the HTTP server's response