Type Definition libp2p::websocket::WrapperFn

source ·
pub type WrapperFn<T> = fn(_: Connection<T>, _: ConnectedPoint) -> RwStreamSink<BytesConnection<T>>;
Expand description

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