Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
Http2Session.hpp File Reference
#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>
Include dependency graph for Http2Session.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  http::h2::detail::HeaderBlock
 Owns the header name/value strings backing an nghttp2_nv list. More...
 
class  http::h2::Http2Session
 Manages an HTTP/2 session over a connection. More...
 
class  http::h2::Http2ResponseWriter
 ResponseWriter implementation for HTTP/2 streams. More...
 

Namespaces

namespace  server
 
namespace  http
 
namespace  http::h2
 
namespace  http::h2::detail
 

Functions

HeaderBlock http::h2::detail::build_response_headers (const http::HttpResponse &response)
 Builds the HTTP/2 response header list for a response.
 
bool http::h2::detail::parse_method (std::string_view value, http::HttpMethod &out)
 Maps an HTTP/2 :method pseudo-header value to an HttpMethod.
 
bool 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.