Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
websocket::stream::async_accept

Perform the WebSocket handshake asynchronously in the server role.

template<
    class AcceptHandler = net::default_completion_token_t<executor_type>>
DEDUCED
async_accept(
    AcceptHandler&& handler = net::default_completion_token_t< executor_type >{});
  » more...

template<
    class ConstBufferSequence,
    class AcceptHandler = net::default_completion_token_t<executor_type>>
DEDUCED
async_accept(
    ConstBufferSequence const& buffers,
    AcceptHandler&& handler = net::default_completion_token_t< executor_type >{});
  » more...

template<
    class Body,
    class Allocator,
    class AcceptHandler = net::default_completion_token_t<executor_type>>
DEDUCED
async_accept(
    http::request< Body, http::basic_fields< Allocator >> const& req,
    AcceptHandler&& handler = net::default_completion_token_t< executor_type >{});
  » more...

PrevUpHomeNext