Type Definition libp2p::websocket::WrapperFn[][src]

type WrapperFn<T> = fn(Connection<T>, ConnectedPoint) -> RwStreamSink<BytesConnection<T>>;
Expand description

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