Expand description
Server implementation and default runtime Server is the centerpiece on saphir, it contains everything to handle request and dispatch it the proper router
SAFETY NOTICE
To allow controller and middleware to respond future with static lifetime, the server stack is put inside a static variable. This is needed for safety, but also means that only one saphir server can run at a time
Structs
Enums
- SslConfig
https
Using Featurehttps
Constants
- Default listener ip addr is AnyAddr (0.0.0.0)
- Default time for request handling is 30 seconds
Functions
- Inject a http request into saphir
- Inject a http request into saphir