|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
#include <orbit/legacy_namespaces.hpp>#include <orbit/http/HttpRequest.hpp>#include <orbit/http/HttpResponse.hpp>#include <orbit/http/ResponseWriter.hpp>#include <orbit/routing/Router.hpp>#include <orbit/concurrency/ThreadPool.hpp>#include <nghttp2/nghttp2.h>#include <string>#include <unordered_map>#include <memory>#include <vector>#include <mutex>#include <string_view>
Go to the source code of this file.
Classes | |
| struct | orbit::http::h2::detail::HeaderBlock |
| Owns the header name/value strings backing an nghttp2_nv list. More... | |
| class | orbit::http::h2::Http2Session |
| struct | orbit::http::h2::Http2Session::StreamContext |
| class | orbit::http::h2::Http2ResponseWriter |
| ResponseWriter implementation for HTTP/2 streams. More... | |
Namespaces | |
| namespace | orbit |
| namespace | orbit::server |
| namespace | orbit::network |
| namespace | orbit::http |
| namespace | orbit::http::h2 |
| namespace | orbit::http::h2::detail |
Functions | |
| HeaderBlock | orbit::http::h2::detail::build_response_headers (const http::HttpResponse &response) |
| Builds the HTTP/2 response header list for a response. | |
| bool | orbit::http::h2::detail::parse_method (std::string_view value, http::HttpMethod &out) |
Maps an HTTP/2 :method pseudo-header value to an HttpMethod. | |
| bool | orbit::http::h2::detail::is_connection_specific_header (std::string_view name) |
| True if a header is forbidden in HTTP/2 and must not be forwarded. | |
| bool | orbit::http::h2::detail::apply_request_target (std::string_view target, http::HttpRequest &req) |
Fills req.uri (the decoded path), req.target and req.query from a request target such as an HTTP/2 or HTTP/3 :path, decoding it as the HTTP/1.1 parser does. | |
| void | orbit::http::h2::detail::parse_cookies (std::string_view cookies, http::HttpRequest &req) |
| Adds the name=value pairs of a Cookie header value to req.cookies. | |