2025-03-07 22:15:49 +01:00

28 lines
544 B
C++

#ifndef seafire__protocol__rc7231__accept_hxx_
#define seafire__protocol__rc7231__accept_hxx_
#include <seafire/protocol/rfc7231/media-range.hxx>
#include <optional>
#include <string>
#include <system_error>
namespace seafire::protocol::rfc7231
{
struct accept_t
{
using alias_type = media_range_t;
static constexpr char const name[] = "accept";
static
std::optional<media_range_t>
try_parse(std::vector< std::string > const& strings, std::error_code& ec);
};
} // namespace seafire::protocol::rfc7231
#endif