Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
websocket::stream::get_status

Get the status of the permessage-deflate extension.

Synopsis
void
get_status(
    permessage_deflate_status& status) const;
Description

Used to check the status of the permessage-deflate extension after the WebSocket handshake.

Parameters

Name

Description

status

A reference to a permessage_deflate_status object where the status will be stored.

Example

Checking the status of the permessage-deflate extension:

permessage_deflate_status status;
ws.get_status(status);

PrevUpHomeNext