http namespace
Classes
- struct header
- HTTP header name/value pair.
- struct parse_error
- Error raised for malformed HTTP or SSE data.
- struct request
- Minimal HTTP request representation.
- struct response_head
- Parsed HTTP response start line and headers.
- struct server_sent_event
- Parsed server-sent event.
- class server_sent_event_parser
- Incremental parser for server-sent event text.
Functions
-
auto serialize(const request& req) → std::
string - Serialize a request to HTTP/1.1 bytes.
Function documentation
std:: string nxt:: http:: serialize(const request& req)
#include <nxt/http.hpp>
Serialize a request to HTTP/1.1 bytes.