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

websocket::stream::get_status
PrevUpHomeNext

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