CCF
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions
ccf::http Namespace Reference

Namespaces

namespace  auth
 
namespace  headers
 
namespace  headervalues
 

Classes

struct  AcceptHeaderField
 
class  HTTPResponder
 
class  Matcher
 
struct  ParserConfiguration
 

Typedefs

using HeaderMap = std::map< std::string, std::string, std::less<> >
 
using HeaderKeyValue = HeaderMap::value_type
 
using ParsedQuery = std::multimap< std::string_view, std::string_view >
 
using StreamOnCloseCallback = std::function< void(void)>
 

Functions

std::vector< AcceptHeaderFieldparse_accept_header (std::string s)
 
 DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ParserConfiguration)
 
 DECLARE_JSON_REQUIRED_FIELDS (ParserConfiguration)
 
 DECLARE_JSON_OPTIONAL_FIELDS (ParserConfiguration, max_body_size, max_header_size, max_headers_count, max_concurrent_streams_count, initial_window_size, max_frame_size)
 

Typedef Documentation

◆ HeaderKeyValue

using ccf::http::HeaderKeyValue = typedef HeaderMap::value_type

◆ HeaderMap

using ccf::http::HeaderMap = typedef std::map<std::string, std::string, std::less<> >

◆ ParsedQuery

using ccf::http::ParsedQuery = typedef std::multimap<std::string_view, std::string_view>

◆ StreamOnCloseCallback

using ccf::http::StreamOnCloseCallback = typedef std::function<void(void)>

Function Documentation

◆ DECLARE_JSON_OPTIONAL_FIELDS()

ccf::http::DECLARE_JSON_OPTIONAL_FIELDS ( ParserConfiguration  ,
max_body_size  ,
max_header_size  ,
max_headers_count  ,
max_concurrent_streams_count  ,
initial_window_size  ,
max_frame_size   
)

◆ DECLARE_JSON_REQUIRED_FIELDS()

ccf::http::DECLARE_JSON_REQUIRED_FIELDS ( ParserConfiguration  )

◆ DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS()

ccf::http::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS ( ParserConfiguration  )

◆ parse_accept_header()

std::vector< AcceptHeaderField > ccf::http::parse_accept_header ( std::string  s)
inline