HTTPレスポンス. [詳細]
#include "necbaas/nb_http_response.h"
Public メソッド | |
| NbHttpResponse () | |
| [内部処理用] [詳細] | |
| NbHttpResponse (int status_code, const std::string &reason_phrase, const std::multimap< std::string, std::string > &headers, const std::vector< char > &body) | |
| コンストラクタ. [詳細] | |
| ~NbHttpResponse () | |
| デストラクタ. [詳細] | |
| int | GetStatusCode () const |
| status-code取得. [詳細] | |
| const std::string & | GetReasonPhrase () const |
| reason-phrase取得. [詳細] | |
| const std::multimap < std::string, std::string > & | GetHeaders () const |
| HTTPヘッダリスト取得. [詳細] | |
| const std::vector< char > & | GetBody () const |
| HTTPボディ取得. [詳細] | |
| void | Dump () const |
| [内部処理用] [詳細] | |
HTTPレスポンス.
受信したHTTPレスポンスの情報の格納用。
本クラスのインスタンスはスレッドセーフではない
| necbaas::NbHttpResponse::NbHttpResponse | ( | ) |
[内部処理用]
| necbaas::NbHttpResponse::NbHttpResponse | ( | int | status_code, |
| const std::string & | reason_phrase, | ||
| const std::multimap< std::string, std::string > & | headers, | ||
| const std::vector< char > & | body | ||
| ) |
コンストラクタ.
| [in] | status_code | status-code |
| [in] | reason_phrase | reason-phrase |
| [in] | headers | HTTPヘッダリスト |
| [in] | body | HTTPボディ |
| necbaas::NbHttpResponse::~NbHttpResponse | ( | ) |
デストラクタ.
| void necbaas::NbHttpResponse::Dump | ( | ) | const |
[内部処理用]
| const std::vector<char>& necbaas::NbHttpResponse::GetBody | ( | ) | const |
HTTPボディ取得.
| const std::multimap<std::string, std::string>& necbaas::NbHttpResponse::GetHeaders | ( | ) | const |
HTTPヘッダリスト取得.
| const std::string& necbaas::NbHttpResponse::GetReasonPhrase | ( | ) | const |
reason-phrase取得.
| int necbaas::NbHttpResponse::GetStatusCode | ( | ) | const |
status-code取得.
1.8.5