pub type HttpBridgeHandler = Arc<dyn Fn(Value, RpcContext, UnboundedReceiver<HttpFrame>, UnboundedSender<HttpFrame>) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>;Expand description
Http-bridge handler. Both directions carry HttpFrame enums
(headers, chunks, trailers).
Aliased Typeยง
pub struct HttpBridgeHandler { /* private fields */ }