#include <cel_http.h>
List of all members.
Detailed Description
HttpResponseStream represents the HTTP response from the server. Any instances of this class is created by HttpRequestStream::post method.
- See also:
- HttpRequestStream, HttpConnection, HttpManager
Member Function Documentation
| virtual uint64_t Celartem::HttpResponseStream::getContentLength |
( |
|
) |
const [pure virtual] |
This method returns "Content-Length" of the receiving content.
- Returns:
- The size of the content received. If the
"Content-Length" header is not available, this function returns -1.
| virtual String Celartem::HttpResponseStream::getHeader |
( |
const String & |
inHeaderName |
) |
const [pure virtual] |
This method returns a header entry by name.
- Parameters:
-
| inHeaderName | A header name to specify the header entry. |
- Returns:
- The Header Content.
| virtual size_t Celartem::HttpResponseStream::getHeaderCount |
( |
|
) |
const [pure virtual] |
This method is to get number of header entries.
- Returns:
- The number of headers.
| virtual void Celartem::HttpResponseStream::getNthHeader |
( |
HttpHeaderEntry & |
outHeader, |
|
|
size_t |
inIndex | |
|
) |
| | const [pure virtual] |
This method returns a header entry by index.
- Parameters:
-
| outHeader | On return, this instance stores the header entry. |
| inIndex | An index to specify the header entry. |
| virtual unsigned int Celartem::HttpResponseStream::getStatusCode |
( |
|
) |
const [pure virtual] |
This method is to get HTTP 1.1 status code.
- Returns:
- HTTP 1.1 status code; 200 stands for success. For more information, see HTTP 1.1 specification.
The documentation for this class was generated from the following file: