Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
WebSocketConnection.hpp File Reference
#include <string>
#include <functional>
#include <vector>
#include <cstdint>
#include <zlib.h>
Include dependency graph for WebSocketConnection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  http::websocket::detail::FrameHeader
 A decoded RFC 6455 frame header. More...
 
class  http::websocket::WebSocketConnection
 Represents an active WebSocket connection. More...
 

Namespaces

namespace  server
 
namespace  http
 
namespace  http::websocket
 
namespace  http::websocket::detail
 

Functions

bool 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.
 
void 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.