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_base

This class is used as a base for the websocket::stream class template to group common types and constants.

Synopsis

Defined in header <boost/beast/websocket/stream_base.hpp>

struct stream_base
Types

Name

Description

decorator

Stream option used to adjust HTTP fields of WebSocket upgrade request and responses.

duration

The type used to represent durations.

time_point

The type used to represent time points.

timeout

Stream option to control the behavior of websocket timeouts.

Static Member Functions

Name

Description

never

Returns the special time_point value meaning "never".

none

Returns the special duration value meaning "none".


PrevUpHomeNext