BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Friends | List of all members
fc::http::websocket_tls_server Class Reference

#include <websocket.hpp>

Public Member Functions

 websocket_tls_server (const std::string &server_pem, const std::string &ssl_password, const std::string &forward_header_key)
 
 ~websocket_tls_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 ()
 

Friends

class detail::websocket_tls_server_impl
 

Detailed Description

Definition at line 76 of file websocket.hpp.

Constructor & Destructor Documentation

◆ websocket_tls_server()

fc::http::websocket_tls_server::websocket_tls_server ( const std::string &  server_pem,
const std::string &  ssl_password,
const std::string &  forward_header_key 
)

Definition at line 678 of file websocket.cpp.

◆ ~websocket_tls_server()

fc::http::websocket_tls_server::~websocket_tls_server ( )

Definition at line 683 of file websocket.cpp.

Member Function Documentation

◆ close()

void fc::http::websocket_tls_server::close ( )

Definition at line 715 of file websocket.cpp.

◆ get_listening_port()

uint16_t fc::http::websocket_tls_server::get_listening_port ( )

Definition at line 700 of file websocket.cpp.

◆ listen() [1/2]

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

Definition at line 694 of file websocket.cpp.

◆ listen() [2/2]

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

Definition at line 690 of file websocket.cpp.

◆ on_connection()

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

Definition at line 685 of file websocket.cpp.

◆ start_accept()

void fc::http::websocket_tls_server::start_accept ( )

Definition at line 706 of file websocket.cpp.

◆ stop_listening()

void fc::http::websocket_tls_server::stop_listening ( )

Definition at line 710 of file websocket.cpp.

Friends And Related Function Documentation

◆ detail::websocket_tls_server_impl

friend class detail::websocket_tls_server_impl
friend

Definition at line 94 of file websocket.hpp.


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