#include <CscHttpClient.h>
◆ HttpResponse()
| conscience_core::communication::HTTP::HttpResponse::HttpResponse |
( |
const long |
code, |
|
|
const string & |
content, |
|
|
const map< string, string > & |
headers |
|
) |
| |
◆ getCode()
| const long & conscience_core::communication::HTTP::HttpResponse::getCode |
( |
| ) |
const |
◆ getContent()
| const string & conscience_core::communication::HTTP::HttpResponse::getContent |
( |
| ) |
const |
◆ getContentAsJson()
◆ getContentAsJsonArray()
template<class T >
| vector<T> conscience_core::communication::HTTP::HttpResponse::getContentAsJsonArray |
( |
| ) |
const |
|
inline |
valid types for T: double, int, uint, string , CscJsonObjectReader* or ptr<CscJsonObjectReader>
◆ getHeader()
| optional< string > conscience_core::communication::HTTP::HttpResponse::getHeader |
( |
const string & |
headerName | ) |
const |
look for header value for given name. Name search will be CASE INSENSITIVE
◆ getHeaders()
| const map< string, string > & conscience_core::communication::HTTP::HttpResponse::getHeaders |
( |
| ) |
|
The documentation for this class was generated from the following files: