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

Detailed Description

a WebSocket server

A server capable of establishing and serving connections over WebSocket protocol.

#include <seastar/websocket/server.hh>

Public Member Functions

void listen (socket_address addr)
 listen for a WebSocket connection on given address More...
 
void listen (socket_address addr, listen_options lo)
 listen for a WebSocket connection on given address with custom options More...
 
future stop ()
 
bool is_handler_registered (std::string const &name)
 
void register_handler (std::string &&name, handler_t handler)
 

Protected Member Functions

void accept (server_socket &listener)
 
future< stop_iterationaccept_one (server_socket &listener)
 

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