CCF
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
http Namespace Reference

Classes

struct  AcceptHeaderField
 
class  ErrorReporter
 
class  HTTP2ClientSession
 
class  HTTP2ServerSession
 
class  HTTP2Session
 
struct  HTTP2SessionContext
 
class  HTTP2StreamResponder
 
class  HTTPClientSession
 
class  HttpRpcContext
 
class  HTTPServerSession
 
class  HTTPSession
 
struct  JwtHeader
 
struct  JwtPayload
 
class  JwtVerifier
 
class  Message
 
class  Parser
 
class  Request
 
class  RequestHeaderTooLargeException
 
class  RequestParser
 
class  RequestPayloadTooLargeException
 
class  RequestProcessor
 
class  RequestTooLargeException
 
class  ResponderLookup
 
class  Response
 
class  ResponseParser
 
class  ResponseProcessor
 
struct  SimpleRequestProcessor
 
struct  SimpleResponseProcessor
 
class  UnencryptedHTTPClientSession
 
class  UnencryptedHTTPSession
 
struct  URL
 

Enumerations

enum class  JwtCryptoAlgorithm { RS256 }
 
enum  State { DONE , IN_MESSAGE }
 

Functions

std::vector< AcceptHeaderFieldparse_accept_header (std::string s)
 
 DECLARE_JSON_ENUM (JwtCryptoAlgorithm, {{JwtCryptoAlgorithm::RS256, "RS256"}})
 
 DECLARE_JSON_REQUIRED_FIELDS (JwtPayload, nbf, exp, iss)
 
auto split_url_path (const std::string_view &url)
 
bool status_success (http_status status)
 
URL parse_url_full (const std::string &url)
 
std::vector< uint8_t > error (ccf::ErrorDetails &&error)
 
std::vector< uint8_t > error (http_status status, const std::string &code, std::string &&msg)
 

Enumeration Type Documentation

◆ JwtCryptoAlgorithm

enum class http::JwtCryptoAlgorithm
strong
Enumerator
RS256 

◆ State

Enumerator
DONE 
IN_MESSAGE 

Function Documentation

◆ DECLARE_JSON_ENUM()

http::DECLARE_JSON_ENUM ( JwtCryptoAlgorithm  ,
{{JwtCryptoAlgorithm::RS256, "RS256"}}   
)

◆ DECLARE_JSON_REQUIRED_FIELDS()

http::DECLARE_JSON_REQUIRED_FIELDS ( JwtPayload  ,
nbf  ,
exp  ,
iss   
)

◆ error() [1/2]

std::vector< uint8_t > http::error ( ccf::ErrorDetails &&  error)
inline

◆ error() [2/2]

std::vector< uint8_t > http::error ( http_status  status,
const std::string &  code,
std::string &&  msg 
)
inline

◆ parse_accept_header()

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

◆ parse_url_full()

URL http::parse_url_full ( const std::string &  url)
inline

◆ split_url_path()

auto http::split_url_path ( const std::string_view &  url)
inline

◆ status_success()

bool http::status_success ( http_status  status)
inline