109#include "sdkconfig.h"
110#ifdef CONFIG_IDFXX_STD_FORMAT
117struct formatter<
idfxx::http::method> {
118 constexpr auto parse(format_parse_context& ctx) {
return ctx.begin(); }
120 template<
typename FormatContext>
123 return std::copy(s.begin(), s.end(), ctx.out());
128struct formatter<
idfxx::http::auth_type> {
129 constexpr auto parse(format_parse_context& ctx) {
return ctx.begin(); }
131 template<
typename FormatContext>
134 return std::copy(s.begin(), s.end(), ctx.out());
139struct formatter<
idfxx::http::transport> {
140 constexpr auto parse(format_parse_context& ctx) {
return ctx.begin(); }
142 template<
typename FormatContext>
145 return std::copy(s.begin(), s.end(), ctx.out());
std::string to_string(core_id c)
Returns a string representation of a CPU core identifier.
method
HTTP request methods.
@ delete_
DELETE (trailing underscore — C++ keyword)
@ unsubscribe
UNSUBSCRIBE.
auth_type
HTTP authentication types.
@ digest
HTTP Digest authentication.
@ basic
HTTP Basic authentication.
transport
HTTP transport types.
@ unknown
Unknown transport.
std::expected< T, std::error_code > result
result type wrapping a value or error code.