Type Definition humphrey::app::ConnectionHandler [−][src]
pub type ConnectionHandler<State> = fn(_: TcpStream, _: Arc<Vec<RouteHandler<State>>>, _: Arc<ErrorHandler>, _: Arc<Box<dyn WebsocketHandler<State>>>, _: Arc<State>);
Expand description
Represents a function able to handle a connection. In most cases, the default connection handler should be used.