Structs§
- Mount
Config - Mount
Config Builder - Request
Headers - The headers of a browser’s request that change how the server renders a page, for
ServerState::request_with_headers. - Response
State - Serve
Opts - Serve
Opts Inner - Server
State
Functions§
- request_
accept_ language Accept-Languageheader of the request, forServerState::request_with_headers.- request_
cookie Cookieheader of the request, forServerState::request_with_cookie.- run
- vary_
accept_ encoding - Middleware making every response
Compresswould compress for a client accepting it sayVary: accept-encoding, also when sent as it is. - vertigo_
files - Install only the build’s static files, the precompressed ones too if
MountConfigBuilder::precompressasked for them - for a back-end that renders the pages by itself, f. ex. with redirects before SSR, and callsvertigo_handlerorServerStateon its own. - vertigo_
handler - Directly attach SSR mechanism to the actix web server (no static files mounting)
- vertigo_
install - Install vertigo handler and static files based on mount config.