Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
connection.hpp File Reference
Include dependency graph for connection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::connection< config >
 Represents an individual WebSocket connection. More...
 

Namespaces

namespace  websocketpp
 Namespace for the WebSocket++ project.
 
namespace  websocketpp::session
 
namespace  websocketpp::session::state
 
namespace  websocketpp::session::fail
 
namespace  websocketpp::session::fail::status
 
namespace  websocketpp::session::internal_state
 
namespace  websocketpp::session::http_state
 

Typedefs

typedef lib::function< void(connection_hdl)> websocketpp::open_handler
 The type and function signature of an open handler.
 
typedef lib::function< void(connection_hdl)> websocketpp::close_handler
 The type and function signature of a close handler.
 
typedef lib::function< void(connection_hdl)> websocketpp::fail_handler
 The type and function signature of a fail handler.
 
typedef lib::function< void(connection_hdl)> websocketpp::interrupt_handler
 The type and function signature of an interrupt handler.
 
typedef lib::function< bool(connection_hdl, std::string)> websocketpp::ping_handler
 The type and function signature of a ping handler.
 
typedef lib::function< void(connection_hdl, std::string)> websocketpp::pong_handler
 The type and function signature of a pong handler.
 
typedef lib::function< void(connection_hdl, std::string)> websocketpp::pong_timeout_handler
 The type and function signature of a pong timeout handler.
 
typedef lib::function< bool(connection_hdl)> websocketpp::validate_handler
 The type and function signature of a validate handler.
 
typedef lib::function< void(connection_hdl)> websocketpp::http_handler
 The type and function signature of a http handler.
 
typedef lib::function< void(lib::error_code const &ec, size_t bytes_transferred)> websocketpp::read_handler
 
typedef lib::function< void(lib::error_code const &ec)> websocketpp::write_frame_handler
 

Enumerations

enum  websocketpp::session::state::value { websocketpp::session::state::connecting = 0 , websocketpp::session::state::open = 1 , websocketpp::session::state::closing = 2 , websocketpp::session::state::closed = 3 }
 
enum  websocketpp::session::fail::status::value {
  websocketpp::session::fail::status::GOOD = 0 , websocketpp::session::fail::status::SYSTEM = 1 , websocketpp::session::fail::status::WEBSOCKET = 2 , websocketpp::session::fail::status::UNKNOWN = 3 ,
  websocketpp::session::fail::status::TIMEOUT_TLS = 4 , websocketpp::session::fail::status::TIMEOUT_WS = 5
}
 
enum  websocketpp::session::internal_state::value {
  websocketpp::session::internal_state::USER_INIT = 0 , websocketpp::session::internal_state::TRANSPORT_INIT = 1 , websocketpp::session::internal_state::READ_HTTP_REQUEST = 2 , websocketpp::session::internal_state::WRITE_HTTP_REQUEST = 3 ,
  websocketpp::session::internal_state::READ_HTTP_RESPONSE = 4 , websocketpp::session::internal_state::WRITE_HTTP_RESPONSE = 5 , websocketpp::session::internal_state::PROCESS_HTTP_REQUEST = 6 , websocketpp::session::internal_state::PROCESS_CONNECTION = 7
}
 
enum  websocketpp::session::http_state::value {
  websocketpp::session::http_state::init = 0 , websocketpp::session::http_state::deferred = 1 , websocketpp::session::http_state::headers_written = 2 , websocketpp::session::http_state::body_written = 3 ,
  websocketpp::session::http_state::closed = 4
}