List of HTTP methods.
Definition in file http_method.hpp.
Go to the source code of this file.
#include <string>
#include <fmt/core.h>
#include <userver/utils/fmt_compat.hpp>
Classes | |
struct | fmt::formatter<::server::http::HttpMethod > |
Namespaces | |
namespace | server::http |
Server parts of the HTTP protocol implementation. | |
Enumerations | |
enum class | server::http::HttpMethod { kDelete , kGet , kHead , kPost , kPut , kPatch , kConnect , kOptions , kUnknown } |
List of HTTP methods. More... | |
Functions | |
const std::string & | server::http::ToString (HttpMethod method) noexcept |
Convert HTTP method enum value to string. | |
HttpMethod | server::http::HttpMethodFromString (std::string_view method_str) |
Convert HTTP method string to enum value. | |