HttpRequest クラス
1 つの HTTP 要求を記述するインターフェイス。
まとめ
メンバー | 説明 |
---|---|
public const std::string& GetId() const | 要求 ID を取得します。 |
public HttpRequestType GetRequestType() const | 要求の種類を取得します。 |
public const std::string& GetUrl() const | 要求 URL を取得します。 |
public const std::vector<uint8_t>& GetBody() const | 要求本文を取得します。 |
public const std::map<std::string, std::string, CaseInsensitiveComparator>& GetHeaders() const | 要求ヘッダーを取得します。 |
public TransportLayerSecurityMinimumVersion GetTransportLayerSecurityMinimumVersion() const | この要求に最低限必要な TLS バージョンを取得します。 |
メンバー
GetId 関数
要求 ID を取得します。
戻り値: 要求 ID。対応する HttpResponse の ID も同じになります
GetRequestType 関数
要求の種類を取得します。
戻り値: 要求の種類
GetUrl 関数
要求 URL を取得します。
戻り値: 要求 URL
GetBody 関数
要求本文を取得します。
戻り値: 要求本文
GetHeaders 関数
要求ヘッダーを取得します。
戻り値: 要求ヘッダー
GetTransportLayerSecurityMinimumVersion 関数
この要求に最低限必要な TLS バージョンを取得します。
戻り値: Http トランスポート プロバイダーをセキュリティで保護する必要がある最低限必要な TLS バージョン。