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 voidSetStatusCode(TIntaStatus)

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 voidSetStatusText(RStringFaStatusString)

Parameters

RStringF aStatusString

SetVersion(TVersion)

IMPORT_C voidSetVersion(TVersionaVersion)

Parameters

TVersion aVersion

StatusCode()

IMPORT_C TIntStatusCode()const

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

StatusText()

IMPORT_C RStringFStatusText()const

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

Version()

IMPORT_C TVersionVersion()const

Returns the version of HTTP used by the server