Octane API Client
Loading...
Searching...
No Matches
Public Attributes | List of all members
octane::internal::HttpResponse Struct Reference

HTTPのレスポンスを表す構造体。 More...

#include <http_client.h>

Public Attributes

int statusCode
 レスポンスのHTTPステータスコードを表す。 More...
 
std::string statusLine
 レスポンスのHTTPステータスライン。"HTTP/2 200 OK", "HTTP/2 400 Bad Request"など。 More...
 
HttpVersion version
 レスポンスのHTTPのバージョン。 More...
 
std::map< std::string, std::string > headerField
 レスポンスのヘッダフィールド。 More...
 
std::vector< std::uint8_t > body
 レスポンスのボディ部。 More...
 

Detailed Description

HTTPのレスポンスを表す構造体。

Member Data Documentation

◆ body

std::vector<std::uint8_t> octane::internal::HttpResponse::body

レスポンスのボディ部。

◆ headerField

std::map<std::string, std::string> octane::internal::HttpResponse::headerField

レスポンスのヘッダフィールド。

◆ statusCode

int octane::internal::HttpResponse::statusCode

レスポンスのHTTPステータスコードを表す。

  • 1xx: 情報レスポンス
  • 2xx: 成功レスポンス
  • 3xx: リダイレクトメッセージ
  • 4xx: クライアントエラーレスポンス
  • 5xx: サーバエラーレスポンス
See also
https://developer.mozilla.org/ja/docs/Web/HTTP/Status

◆ statusLine

std::string octane::internal::HttpResponse::statusLine

レスポンスのHTTPステータスライン。"HTTP/2 200 OK", "HTTP/2 400 Bad Request"など。

◆ version

HttpVersion octane::internal::HttpResponse::version

レスポンスのHTTPのバージョン。


The documentation for this struct was generated from the following file: