BitShares-Core  5.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 (const std::string &forward_header_key)
 ~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 53 of file websocket.hpp.

Constructor & Destructor Documentation

fc::http::websocket_server::websocket_server ( const std::string &  forward_header_key)

Definition at line 636 of file websocket.cpp.

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

Definition at line 638 of file websocket.cpp.

Member Function Documentation

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

Definition at line 670 of file websocket.cpp.

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

Definition at line 655 of file websocket.cpp.

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

Definition at line 645 of file websocket.cpp.

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

Definition at line 649 of file websocket.cpp.

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

Definition at line 640 of file websocket.cpp.

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

Definition at line 661 of file websocket.cpp.

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

Definition at line 665 of file websocket.cpp.

Friends And Related Function Documentation

friend class detail::websocket_server_impl

Definition at line 69 of file websocket.hpp.

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