Crate sapper
Source - header
- Headers container, and common header fields.
- mime
- Re-exporting the mime crate, for convenience.
- status
- Re-export Status Codes
- header
- App
- Sapper app struct
- Client
- reexport hyper’s Client to sapper level
A Client to use additional features with Requests.
- Params
- PathParams
- PathParams is the parameter type referring the parameters collected in url
Path parameter type
- Request
- Sapper request struct
- Response
- Sapper response struct
- Router
- Sapper router struct
- Error
- Sapper error enum
- Armor
- Sapper armor trait, used to place global before and after middlewares
- Handler
- All handlers should implement this Handler trait
- Key
- This trait defines the relationship between keys and values in a TypeMap.
- Module
- Sapper module trait
3 methods: before, after, router
- Result
- Sapper result struct