High performance C++ framework for concurrent servers
Classes | Public Member Functions | Protected Member Functions | List of all members
seastar::experimental::websocket::connection Class Reference

Detailed Description

a WebSocket connection

#include <seastar/websocket/server.hh>

Inheritance diagram for seastar::experimental::websocket::connection:

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.

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