Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::http::websocket::WebSocketConnection::Transport Struct Reference

Where frames go. Lets the protocol logic run without a socket (tests). More...

#include <WebSocketConnection.hpp>

Public Attributes

std::function< void(const std::vector< char > &)> write
 Queue bytes to the peer.
 
std::function< void()> close
 Close once queued bytes are sent.
 

Detailed Description

Where frames go. Lets the protocol logic run without a socket (tests).

Member Data Documentation

◆ close

std::function<void()> orbit::http::websocket::WebSocketConnection::Transport::close

Close once queued bytes are sent.

◆ write

std::function<void(const std::vector<char>&)> orbit::http::websocket::WebSocketConnection::Transport::write

Queue bytes to the peer.


The documentation for this struct was generated from the following file: