RHTTPResponse Class Reference

#include <mw/http/rhttpresponse.h>

Link against: http.lib

class RHTTPResponse : public RHTTPMessage

Inherits from

Detailed Description

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

Member Function 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.

SetStatusText ( RStringF )

IMPORT_C voidSetStatusText(RStringFaStatusString)

SetVersion ( TVersion )

IMPORT_C voidSetVersion(TVersionaVersion)

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