![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <header_accept.h>
Public Member Functions | |
HeaderAccept () | |
HeaderAccept (const char *header_accept) | |
std::optional< helper::MediaType > | is_acceptable (const std::vector< helper::MediaType > &mime_types) |
bool | is_acceptable (const helper::MediaType &mime_type) |
bool | is_acceptable (const std::string &mime_type) |
Private Attributes | |
std::vector< Accepts > | accepts_ |
mrs::http::HeaderAccept::HeaderAccept | ( | ) |
|
explicit |
bool mrs::http::HeaderAccept::is_acceptable | ( | const helper::MediaType & | mime_type | ) |
bool mrs::http::HeaderAccept::is_acceptable | ( | const std::string & | mime_type | ) |
std::optional< helper::MediaType > mrs::http::HeaderAccept::is_acceptable | ( | const std::vector< helper::MediaType > & | mime_types | ) |
|
private |