|
|
|
|
Location:
rhttpresponse.h
Link against: http.lib
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
RHTTPResponse - An HTTP Response
Defined in RHTTPResponse:
SetStatusCode(), SetStatusText(), SetVersion(), StatusCode(), StatusText(), Version()
Inherited from RHTTPMessage:
Body(),
GetHeaderCollection(),
HasBody(),
RemoveBody(),
SetBody(),
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.
|