
![]() |
![]() |
|
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.
RHTTPMessage
- An abstract HTTP message. In RFC2616, an HTTP message is defined as having a hea...
RHTTPResponse
- An HTTP Response. This class extends the abstract HTTP Message to add an HTTP ve...
Defined in RHTTPResponse
:
SetStatusCode(TInt)
Sets the status code.SetStatusText(RStringF)
Sets the status string. SetVersion(TVersion)
Sets the HTTP version. StatusCode()const
Returns the status codeStatusText()const
Returns the status text, that is the text after the number on the first line of ...Version()const
Returns the version of HTTP used by the serverInherited from RHTTPMessage
:
Body()const
Gets the body. The body is supplied as a MHTTPDataSupplier, which can be used to...GetHeaderCollection()
Returns the header collection for the message HasBody()const
Determine whether this message has any associated body data. RemoveBody()
Removes the body SetBody(MHTTPDataSupplier &)
Sets the messages body, replacing any existing body. The body is supplied as a M...iImplementation
IMPORT_C RStringF StatusText() const;
Returns the status text, that is the text after the number on the first line of the response.
|
IMPORT_C TVersion Version() const;
Returns the version of HTTP used by the server
|
IMPORT_C void SetStatusCode(TInt aStatus);
Sets the status code.
|
IMPORT_C void SetStatusText(RStringF aStatusString);
Sets the status string.
|
IMPORT_C void SetVersion(TVersion aVersion);
Sets the HTTP version.
|