pub type StreamHandler = Arc<dyn Fn(Bytes) -> BoxFuture<'static, Result<StreamConn>> + Send + Sync>;Expand description
A streaming handler: given the initial request bytes, opens a StreamConn.
Aliased Typeยง
pub struct StreamHandler { /* private fields */ }