Crate sapper

Source

Modules§

header
Headers container, and common header fields.
mime
Re-exporting the mime crate, for convenience.
status
Re-export Status Codes

Macros§

header

Structs§

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

Enums§

Error
Sapper error enum

Traits§

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

Type Aliases§

Result
Sapper result struct