Module saphir::server

source ·
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

Constants

Functions