voicevox_client_cpp
0.0.0
A client library for VOICEVOX implemented in C++.
|
A builder for creating requests to obtain version. More...
#include <get.hpp>
Public Member Functions | |
Builder () | |
Initialize base URI. More... | |
![]() | |
Builder (const std::string &path) noexcept(false) | |
Initialize URI. More... | |
web::http::http_request | get () noexcept |
Create and provide a request based on the settings provided so far. More... | |
Builder & | method (const web::http::method &method) |
Set HTTP method to request. More... | |
Builder & | header (const utility::string_t &key, const utility::string_t &value) |
Set a header consists of a key and a value. More... | |
Builder & | body (const utility::string_t &body) |
Set the body of the request. (String type) More... | |
Builder & | body (const web::json::value &body) |
Set the body of the request. (JSON type) More... | |
Additional Inherited Members | |
![]() | |
using | SharedPtr = std::shared_ptr< Builder > |
An alias of a pointer of this class. More... | |
![]() | |
web::http::uri_builder | uri_builder_ |
URI builder. More... | |
web::http::http_request | req_ |
The request object to be built. More... | |
A builder for creating requests to obtain version.