Module cors

Module cors 

Source
Expand description

CORS (Cross-Origin Resource Sharing) configuration

Provides configurable CORS policies for production and development.

Structs§

CorsConfig
CORS configuration

Enums§

CorsMode
CORS mode

Functions§

build_cors_layer
Build a tower-http CORS layer from configuration