pub type ConnectionHandler<State> = fn(Stream, Arc<Vec<SubApp<State>>>, Arc<SubApp<State>>, Arc<ErrorHandler>, Arc<State>, MonitorConfig, Option<Duration>);Expand description
Represents a function able to handle a connection. In most cases, the default connection handler should be used.