9#include <userver/utils/fmt_compat.hpp>
11USERVER_NAMESPACE_BEGIN
13namespace server::http {
39struct fmt::formatter<USERVER_NAMESPACE::server::http::HttpMethod> {
40 constexpr static auto parse(format_parse_context& ctx) {
return ctx.begin(); }
42 template <
typename FormatContext>
43 auto format(USERVER_NAMESPACE::server::http::HttpMethod method,
45 return fmt::format_to(ctx.out(),
"{}",
46 USERVER_NAMESPACE::server::http::ToString(method));