28 lines
544 B
C++
Raw Normal View History

2025-03-07 02:25:53 +01:00
#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