Beast Logo

PrevUpHomeNext
websocket::stream::async_accept

Start reading and responding to a WebSocket HTTP Upgrade request.

template<
    class AcceptHandler>
void-or-deduced
async_accept(
    AcceptHandler&& handler);
  » more...

template<
    class ConstBufferSequence,
    class AcceptHandler>
void-or-deduced
async_accept(
    ConstBufferSequence const& buffers,
    AcceptHandler&& handler);
  » more...

Start responding to a WebSocket HTTP Upgrade request.

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

template<
    class Body,
    class Allocator,
    class ConstBufferSequence,
    class AcceptHandler>
void-or-deduced
async_accept(
    http::request< Body, http::basic_fields< Allocator >> const& req,
    ConstBufferSequence const& buffers,
    AcceptHandler&& handler);
  » more...

PrevUpHomeNext