| Home | Libraries | People | FAQ | More

###### websocket::stream::set_option (2 of 2 overloads)

Set the permessage-deflate extension options.

<h7> Synopsis </h7>

    void
    set_option(
        permessage_deflate const& o);

<h7> Description </h7><h7> Exceptions </h7>

Type | Thrown On
--- | ---
`invalid_argument` | if `deflateSupported == false`, and either `client_enable` or `server_enable` is `true`.