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

Start reading and responding to a WebSocket HTTP Upgrade request.

template<
    class AcceptHandler>
DEDUCED
async_accept(
    AcceptHandler&& handler);
  » more...

template<
    class ConstBufferSequence,
    class AcceptHandler>
DEDUCED
async_accept(
    ConstBufferSequence const& buffers,
    AcceptHandler&& handler);
  » more...

Start responding to a WebSocket HTTP Upgrade request.

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

PrevUpHomeNext