Expand description
Provides the core Humphrey app functionality.
Re-exports
pub use crate::handler_traits::*;
Structs
- Represents the Humphrey app.
Type Definitions
- Represents a function able to calculate whether a connection will be accepted.
- Represents a function able to handle a connection. In most cases, the default connection handler should be used.
- Represents a function able to handle an error. The first parameter of type
Option<Request>
will beSome
if the request could be parsed. Otherwise, it will beNone
and the status code will beStatusCode::BadRequest
. - Represents a generic error with the program.