| Home | Libraries | People | FAQ | More

###### websocket::stream_base::decorator::decorator (2 of 2 overloads)

Construct a decorator option.

<h7> Synopsis </h7>

    template<
        class Decorator>
    decorator(
        Decorator&& f);

<h7> Description </h7><h7> Parameters </h7>

Name | Description
--- | ---
`f` | An invocable function object. Ownership of the function object is transferred by decay-copy.