| Home | Libraries | People | FAQ | More

###### ssl_stream::next_layer (1 of 2 overloads)

Get a reference to the next layer.

<h7> Synopsis </h7>

    next_layer_type const &
    next_layer() const;

<h7> Description </h7>

This function returns a reference to the next layer in a stack of stream layers.

<h7> Remarks </h7>

The next layer is the wrapped stream and not the `flat_stream` used in the implementation.

<h7> Return Value </h7>

A reference to the next layer in the stack of stream layers. Ownership is not transferred to the caller.