Skip to main content

IntoMaybeTlsStream

Trait IntoMaybeTlsStream 

Source
pub trait IntoMaybeTlsStream<S>: Sealed<S>
where S: Splittable,
{ // Required method fn into_maybe_tls_stream( self, capacity: usize, max_buffer_size: usize, ) -> MaybeTlsStream<S>; }
Available on crate feature ws only.
Expand description

Create MaybeTlsStream with capacity and buffer size limit.

Required Methods§

Source

fn into_maybe_tls_stream( self, capacity: usize, max_buffer_size: usize, ) -> MaybeTlsStream<S>

Create MaybeTlsStream with capacity and buffer size limit.

Implementors§