RHTTPResponse Class Reference

class RHTTPResponse : public RHTTPMessage

An HTTP Response. This class extends the abstract HTTP Message to add an HTTP version, a status code and status text.

Inherits from

Member Functions Documentation

SetStatusCode(TInt)

IMPORT_C void SetStatusCode ( TInt aStatus )

Set Methods

Methods for setting information. These methods will not be of use to the client; they are intended for the use of advanced filters Sets the status code.

Parameters

TInt aStatus

SetStatusText(RStringF)

IMPORT_C void SetStatusText ( RStringF aStatusString )

Parameters

RStringF aStatusString

SetVersion(TVersion)

IMPORT_C void SetVersion ( TVersion aVersion )

Parameters

TVersion aVersion

StatusCode()

IMPORT_C TInt StatusCode ( ) const

Get Methods Methods for reading information from the response. Returns the status code

StatusText()

IMPORT_C RStringF StatusText ( ) const

Returns the status text, that is the text after the number on the first line of the response.

Version()

IMPORT_C TVersion Version ( ) const

Returns the version of HTTP used by the server