Seastar
High performance C++ framework for concurrent servers
|
a WebSocket connection
#include <seastar/websocket/server.hh>
Public Member Functions | |
connection (server &server, connected_socket &&fd) | |
future | process () |
serve WebSocket protocol on a connection | |
void | shutdown_input () |
close the socket | |
future | close (bool send_close=true) |
Protected Member Functions | |
future | read_loop () |
future | read_one () |
future | read_http_upgrade_request () |
future | response_loop () |
void | on_new_connection () |
future | send_data (opcodes opcode, temporary_buffer< char > &&buff) |
Packs buff in websocket frame and sends it to the client. | |