Type Alias WrapperFn

pub type WrapperFn<T> = fn(Connection<T>, ConnectedPoint) -> RwStreamSink<BytesConnection<T>>;
Available on crate feature websocket and non-WebAssembly only.
Expand description

Function type that wraps a websocket connection (see. wrap_connection).