Home | Libraries | People | FAQ | More |
Construct timeout settings with suggested values for a role.
static timeout suggested( role_type role);
This constructs the timeout settings with a predefined set of values which varies depending on the desired role. The values are selected upon construction, regardless of the current or actual role in use on the stream.
This statement sets the timeout settings of the stream to the suggested values for the server role:
Name |
Description |
---|---|
|
The role of the websocket stream ( |