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::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...

PrevUpHomeNext