Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
WebSocketConnection.cpp File Reference
#include <orbit/http/WebSocketConnection.hpp>
#include <orbit/server/Connection.hpp>
#include <orbit/network/PlatformSocket.hpp>
#include <cstring>
#include <iostream>
Include dependency graph for WebSocketConnection.cpp:

Namespaces

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

Functions

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