#include <userver/server/http/http_request_builder.hpp>
HTTP Request Builder.
Definition at line 15 of file http_request_builder.hpp.
Public Member Functions | |
HttpRequestBuilder (const HttpRequest &data_accounter) | |
HttpRequestBuilder & | SetRemoteAddress (engine::io::Sockaddr remote_address) |
HttpRequestBuilder & | SetMethod (HttpMethod method) |
HttpRequestBuilder & | SetHttpMajor (int http_major) |
HttpRequestBuilder & | SetHttpMinor (int http_minor) |
HttpRequestBuilder & | SetBody (std::string &&body) |
HttpRequestBuilder & | AddHeader (std::string &&header, std::string &&value) |
HttpRequestBuilder & | AddRequestArg (std::string &&key, std::string &&value) |
HttpRequestBuilder & | SetPathArgs (std::vector< std::pair< std::string, std::string > > args) |
HttpRequestBuilder & | SetUrl (std::string &&url) |
HttpRequestBuilder & | SetRequestPath (std::string &&path) |
std::shared_ptr< HttpRequest > | Build () |