|
|
|
Location:
http\rhttpresponse.h
Link against: http.lib
class RHTTPResponse
Supported from 7.0
A response message.
A response object stores a status code, status text, and server version information, as well as the message headers and body supplied by the RHTTPMessage base class.
A response object can be obtained for a transaction using RHTTPTransaction::Response().
This class's setter functions are not of use to clients, but can be used by advanced filters.
|
Defined in RHTTPResponse:
SetStatusCode(), SetStatusText(), SetVersion(), StatusCode(), StatusText(), Version()
Inherited from RHTTPMessage:
Body(),
GetHeaderCollection(),
HasBody(),
RemoveBody(),
SetBody(),
iImplementation
RStringF StatusText() const;
Gets the status text.
The status text is the text after the number on the first line of the response.
|
TVersion Version() const;
Gets the version of the protocol used by the server.
|
void SetStatusCode(TInt aStatus);
Sets the status code.
|
void SetStatusText(RStringF aStatusString);
Sets the status text.
|
void SetVersion(TVersion aVersion);
Sets the protocol version.
|