|
Octane API Client
|
Classes | |
| class | ApiBridge |
| class | Fetch |
| HttpClientクラスを通じてHTTP通信を行う。 More... | |
| class | FetchBase |
| HttpClientクラスを通じてHTTP通信を行うインタフェース。 More... | |
| struct | FetchResponse |
| Fetchのレスポンスを表す構造体。 More... | |
| class | HttpClient |
| HTTP通信を行う。 More... | |
| class | HttpClientBase |
| HTTP通信を行うインタフェース。 More... | |
| struct | HttpRequest |
| HTTPのリクエストを表す構造体。 More... | |
| struct | HttpResponse |
| HTTPのレスポンスを表す構造体。 More... | |
Enumerations | |
| enum struct | HttpMethod { Get , Post , Put , Delete } |
| HTTPメソッドを表す列挙体。 More... | |
| enum struct | HttpVersion { Http1_0 , Http1_1 , Http2 , Http3 } |
| HTTPバージョンを表す。 More... | |
Functions | |
| char | convToHexMono (std::uint8_t number) |
| std::string | convToHex (const std::vector< std::uint8_t > &data) |
| バイナリシーケンスを16進数文字列に変換する。 More... | |
| std::string | generateHash (const std::vector< std::uint8_t > &src) |
| ハッシュ値を生成する。 More... | |
| bool | operator== (const HttpRequest &a, const HttpRequest &b) |
| bool | operator== (const HttpResponse &a, const HttpResponse &b) |
| std::ostream & | operator<< (std::ostream &stream, const HttpRequest &request) |
| std::ostream & | operator<< (std::ostream &stream, const HttpResponse &response) |
|
strong |
|
strong |
| std::string octane::internal::convToHex | ( | const std::vector< std::uint8_t > & | data | ) |
バイナリシーケンスを16進数文字列に変換する。
標準ライブラリにそんくらいの機能あるやろとか言ってはいけない。
| [in] | data | 変換元のデータ |


| char octane::internal::convToHexMono | ( | std::uint8_t | number | ) |

| std::string octane::internal::generateHash | ( | const std::vector< std::uint8_t > & | src | ) |
ハッシュ値を生成する。
使用されるアルゴリズムはblack2b-256である。
| [in] | src | ハッシュを生成する値。 |


| std::ostream & octane::internal::operator<< | ( | std::ostream & | stream, |
| const HttpRequest & | request | ||
| ) |
| std::ostream & octane::internal::operator<< | ( | std::ostream & | stream, |
| const HttpResponse & | response | ||
| ) |
| bool octane::internal::operator== | ( | const HttpRequest & | a, |
| const HttpRequest & | b | ||
| ) |
| bool octane::internal::operator== | ( | const HttpResponse & | a, |
| const HttpResponse & | b | ||
| ) |