MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::http::HeaderAccept Class Reference

#include <header_accept.h>

Public Member Functions

 HeaderAccept ()
 
 HeaderAccept (const char *header_accept)
 
std::optional< helper::MediaTypeis_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< Acceptsaccepts_
 

Constructor & Destructor Documentation

◆ HeaderAccept() [1/2]

mrs::http::HeaderAccept::HeaderAccept ( )

◆ HeaderAccept() [2/2]

mrs::http::HeaderAccept::HeaderAccept ( const char *  header_accept)
explicit

Member Function Documentation

◆ is_acceptable() [1/3]

bool mrs::http::HeaderAccept::is_acceptable ( const helper::MediaType mime_type)

◆ is_acceptable() [2/3]

bool mrs::http::HeaderAccept::is_acceptable ( const std::string &  mime_type)

◆ is_acceptable() [3/3]

std::optional< helper::MediaType > mrs::http::HeaderAccept::is_acceptable ( const std::vector< helper::MediaType > &  mime_types)

Member Data Documentation

◆ accepts_

std::vector<Accepts> mrs::http::HeaderAccept::accepts_
private

The documentation for this class was generated from the following files: