Beast Logo

PrevUpHomeNext
websocket::stream::accept

Read and respond to a WebSocket HTTP Upgrade request.

void
accept();
  » more...

void
accept(
    error_code& ec);
  » more...

template<
    class ConstBufferSequence>
void
accept(
    ConstBufferSequence const& buffers);
  » more...

template<
    class ConstBufferSequence>
void
accept(
    ConstBufferSequence const& buffers,
    error_code& ec);
  » more...

Respond to a WebSocket HTTP Upgrade request.

template<
    class Body,
    class Allocator>
void
accept(
    http::request< Body, http::basic_fields< Allocator >> const& req);
  » more...

template<
    class Body,
    class Allocator>
void
accept(
    http::request< Body, http::basic_fields< Allocator >> const& req,
    error_code& ec);
  » more...

template<
    class Body,
    class Allocator,
    class ConstBufferSequence>
void
accept(
    http::request< Body, http::basic_fields< Allocator >> const& req,
    ConstBufferSequence const& buffers);
  » more...

template<
    class Body,
    class Allocator,
    class ConstBufferSequence>
void
accept(
    http::request< Body, http::basic_fields< Allocator >> const& req,
    ConstBufferSequence const& buffers,
    error_code& ec);
  » more...

PrevUpHomeNext