Beast Logo

PrevUpHomeNext
websocket::stream::async_accept_ex

Start reading and responding to a WebSocket HTTP Upgrade request.

template<
    class ResponseDecorator,
    class AcceptHandler>
void-or-deduced
async_accept_ex(
    ResponseDecorator const& decorator,
    AcceptHandler&& handler);

template<
    class ConstBufferSequence,
    class ResponseDecorator,
    class AcceptHandler>
void-or-deduced
async_accept_ex(
    ConstBufferSequence const& buffers,
    ResponseDecorator const& decorator,
    AcceptHandler&& handler);

template<
    class Allocator,
    class ResponseDecorator,
    class AcceptHandler>
void-or-deduced
async_accept_ex(
    http::header< true, http::basic_fields< Allocator >> const& req,
    ResponseDecorator const& decorator,
    AcceptHandler&& handler);

template<
    class Allocator,
    class ConstBufferSequence,
    class ResponseDecorator,
    class AcceptHandler>
void-or-deduced
async_accept_ex(
    http::header< true, http::basic_fields< Allocator >> const& req,
    ConstBufferSequence const& buffers,
    ResponseDecorator const& decorator,
    AcceptHandler&& handler);

PrevUpHomeNext