[−][src]Type Definition libp2p_websocket::WrapperFn
type WrapperFn<T> = fn(_: Connection<T>, _: ConnectedPoint) -> RwStreamSink<BytesConnection<T>>;
Function type that wraps a websocket connection (see. wrap_connection
).
type WrapperFn<T> = fn(_: Connection<T>, _: ConnectedPoint) -> RwStreamSink<BytesConnection<T>>;
Function type that wraps a websocket connection (see. wrap_connection
).