#ifndef seafire__protocol__match_hxx_ #define seafire__protocol__match_hxx_ #include #include #include #include #include #include namespace seafire::protocol { /// Implements an input match condition for matching a request. /// class match_request_t { public: using parser_type = basic_request_parser_t; explicit match_request_t(request_t& m); std::pair operator()(char const*, char const*, std::error_code&); private: request_t& message_; }; /// Implements an input match condition for matching a response. /// class match_response_t { public: using parser_type = basic_response_parser_t; explicit match_response_t(response_t& m); std::pair operator()(char const*, char const*, std::error_code&); private: response_t& message_; }; } // namespace seafire::protocol #endif