Beast Logo

PrevUpHomeNext

websocket::stream::set_option

Set options on the stream.

template<
    class... Args>
void
set_option(
    Args&&... args);

Set the automatic fragment size option.

void
set_option(
    auto_fragment const& o);

Set the decorator used for HTTP messages.

void
set_option(
    implementation_defined o);

Set the keep-alive option.

void
set_option(
    keep_alive const& o);

Set the outgoing message type.

void
set_option(
    message_type const& o);

Set the permessage-deflate extension options.

void
set_option(
    permessage_deflate const& o);

Set the ping callback.

void
set_option(
    ping_callback o);

Set the read buffer size.

void
set_option(
    read_buffer_size const& o);

Set the maximum incoming message size allowed.

void
set_option(
    read_message_max const& o);

Set the size of the write buffer.

void
set_option(
    write_buffer_size const& o);

PrevUpHomeNext