BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Friends | List of all members
fc::http::websocket_server Class Reference

#include <websocket.hpp>

Public Member Functions

 websocket_server ()
 ~websocket_server ()
void on_connection (const on_connection_handler &handler)
void listen (uint16_t port)
void listen (const fc::ip::endpoint &ep)
uint16_t get_listening_port ()
void start_accept ()
void stop_listening ()
void close ()


class detail::websocket_server_impl

Detailed Description

Definition at line 45 of file websocket.hpp.

Constructor & Destructor Documentation

fc::http::websocket_server::websocket_server ( )

Definition at line 601 of file websocket.cpp.

fc::http::websocket_server::~websocket_server ( )

Definition at line 602 of file websocket.cpp.

Member Function Documentation

void fc::http::websocket_server::close ( )

Definition at line 633 of file websocket.cpp.

uint16_t fc::http::websocket_server::get_listening_port ( )

Definition at line 618 of file websocket.cpp.

void fc::http::websocket_server::listen ( uint16_t  port)

Definition at line 609 of file websocket.cpp.

void fc::http::websocket_server::listen ( const fc::ip::endpoint ep)

Definition at line 613 of file websocket.cpp.

void fc::http::websocket_server::on_connection ( const on_connection_handler handler)

Definition at line 604 of file websocket.cpp.

void fc::http::websocket_server::start_accept ( )

Definition at line 624 of file websocket.cpp.

void fc::http::websocket_server::stop_listening ( )

Definition at line 628 of file websocket.cpp.

Friends And Related Function Documentation

friend class detail::websocket_server_impl

Definition at line 61 of file websocket.hpp.

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