|
OSSIA
Open Scenario System for Interactive Application
|
Inherits std::enable_shared_from_this< socketio_server_connection >.
A single client connection managed by the Socket.IO server. Handles the Engine.IO handshake, polling transport, WebSocket upgrade, and Socket.IO packet framing.
Public Member Functions | |
| socketio_server_connection (boost::asio::ip::tcp::socket &&socket, socketio_server &server) | |
| void | run () |
| void | send_text (const std::string &msg) |
| void | send_text (const char *data, std::size_t sz) |
| void | send_binary (std::string_view msg) |
| void | close () |
| boost::asio::ip::tcp::socket & | tcp_socket () |
| const std::string & | sid () const |