dot-xx
A personal collection of small C++ modules
|
Request and Response types More...
Classes | |
struct | dxx::http::HeaderCompare |
HTTP headers comparison struct - they must be case-insensitive. More... | |
struct | dxx::http::Request |
HTTP request structure. Also used for multipart request data. More... | |
struct | dxx::http::Response |
Server's response to the client. More... |
Typedefs | |
using | dxx::http::StringMap = std::unordered_map<std::string, std::string> |
Enumerations | |
enum class | dxx::http::HeaderError { None , Method , Header , Unterminated , StrayData } |
An error during HTTP request header parsing. More... | |
enum class | dxx::http::MultipartError { NotMultipart , Unterminated , NoPartBody , UnterminatedHeader , InvalidHeader } |
An error during parsing of a multipart request. More... |
Functions | |
StringMap | dxx::http::parse_content_disposition (std::string_view data) |
Parse Content-Disposition header. |
Request and Response types
|
exportstrong |
An error during HTTP request header parsing.
|
exportstrong |
An error during parsing of a multipart request.