| Home | Libraries | People | FAQ | More

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

Constructor.

###### Synopsis

    template<
        class... Args>
    stream(
        Args&&... args);

###### Description

This constructor creates a websocket stream and initializes the next layer object.

###### Exceptions

Type | Thrown On
--- | ---
`Any` | exceptions thrown by the NextLayer constructor.

###### Parameters

Name | Description
--- | ---
`args` | The arguments to be passed to initialize the next layer object. The arguments are forwarded to the next layer's constructor.