WebSocket++  0.8.3-dev
C++ websocket client/server library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Classes | Typedefs | Functions
websocketpp::transport::asio Namespace Reference

Transport policy that uses asio. More...

Namespaces

 basic_socket
 
 error
 Asio transport errors.
 
 tls_socket
 

Classes

class  connection
 Asio based connection transport component. More...
 
class  custom_alloc_handler
 
class  endpoint
 Asio based endpoint transport component. More...
 
class  handler_allocator
 

Typedefs

typedef lib::function< void(lib::asio::error_code const &ec, size_t bytes_transferred)> async_read_handler
 
typedef lib::function< void(lib::asio::error_code const &ec, size_t bytes_transferred)> async_write_handler
 
typedef lib::function< void(lib::error_code const &ec)> pre_init_handler
 
typedef lib::function< void(connection_hdl)> tcp_init_handler
 

Functions

template<typename Handler >
custom_alloc_handler< Handler > make_custom_alloc_handler (handler_allocator &a, Handler h)
 

Detailed Description

Transport policy that uses asio.

This policy uses a single asio io_service to provide transport services to a WebSocket++ endpoint.