Death::IO::Http::Request class final

Constructors, destructors, conversion operators

Request(const Containers::StringView& uriString, const InternetProtocol protocol = InternetProtocol::V4) explicit

Public functions

auto Send(const Containers::StringView& method = "GET"_s, const std::chrono::milliseconds timeout = std::chrono::milliseconds { -1 }) -> Response
auto Send(const Containers::StringView& method, const Containers::ArrayView<uint8_t>& body, const Containers::SmallVectorImpl<HeaderField>& headerFields, const std::chrono::milliseconds timeout = std::chrono::milliseconds { -1 }) -> Response