#include <mw/http/rhttpresponse.h>
Link against: http.lib
| class RHTTPResponse : public RHTTPMessage |
| Public Member Functions | |
|---|---|
| IMPORT_C void | SetStatusCode(TInt) |
| IMPORT_C void | SetStatusText(RStringF) |
| IMPORT_C void | SetVersion(TVersion) |
| IMPORT_C TInt | StatusCode() |
| IMPORT_C RStringF | StatusText() |
| IMPORT_C TVersion | Version() |
| Inherited Attributes | |
|---|---|
| RHTTPMessage::iImplementation | |
An HTTP Response. This class extends the abstract HTTP Message to add an HTTP version, a status code and status text.
| IMPORT_C void | SetStatusCode | ( | TInt | aStatus | ) |
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.
| IMPORT_C void | SetStatusText | ( | RStringF | aStatusString | ) |
| IMPORT_C void | SetVersion | ( | TVersion | aVersion | ) |
| IMPORT_C TInt | StatusCode | ( | ) | const |
Get Methods Methods for reading information from the response. Returns the status code
| IMPORT_C RStringF | StatusText | ( | ) | const |
Returns the status text, that is the text after the number on the first line of the response.