kvarn

Module cors

source
Expand description

CORS implementation for Kvarn.

See Cors for usage details.

Structs§

  • A CORS allow list which allowes hosts, methods, and headers from a associated path. This is a builder-like struct. Use the add_* methods to add allowed origins, methods, and headers. Multiple allow lists can be added to a Cors instance. See the example at Cors.

Enums§

Type Aliases§