|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
#include <orbit/legacy_namespaces.hpp>#include <string>#include <functional>#include <vector>#include <cstdint>#include <atomic>#include <mutex>#include <string_view>#include <zlib.h>

Go to the source code of this file.
Classes | |
| struct | orbit::http::websocket::detail::FrameHeader |
| A decoded RFC 6455 frame header. More... | |
| class | orbit::http::websocket::WebSocketConnection |
| Represents an active WebSocket connection. More... | |
| struct | orbit::http::websocket::WebSocketConnection::Transport |
| Where frames go. Lets the protocol logic run without a socket (tests). More... | |
Namespaces | |
| namespace | orbit |
| namespace | orbit::server |
| namespace | orbit::http |
| namespace | orbit::http::websocket |
| namespace | orbit::http::websocket::detail |
Enumerations | |
| enum class | orbit::http::websocket::detail::FrameStatus { orbit::http::websocket::detail::NeedHeader , orbit::http::websocket::detail::NeedPayload , orbit::http::websocket::detail::Complete , orbit::http::websocket::detail::Invalid } |
| Progress of parsing the frame at the front of a buffer. More... | |
Functions | |
| bool | orbit::http::websocket::detail::parse_frame_header (const std::vector< char > &buffer, FrameHeader &header) |
| Decodes an RFC 6455 frame header from the front of a buffer. | |
| FrameStatus | orbit::http::websocket::detail::inspect_frame (const std::vector< char > &buffer, FrameHeader &header) |
Parses the frame header at the front of buffer. | |
| void | orbit::http::websocket::detail::unmask_payload (std::string &payload, const uint8_t mask_key[4]) |
| Unmasks a frame payload in place using the frame's masking key. | |
| bool | orbit::http::websocket::detail::is_valid_utf8 (std::string_view data) |
| bool | orbit::http::websocket::detail::is_valid_close_code (uint16_t code) |
| True if a close frame may carry this status code (RFC 6455 section 7.4). | |