Module jsonrpc_server_utils::cors
source · [−]Expand description
CORS handling utility functions
Structs
Enums
Headers allowed to access
Origins allowed to access
CORS response headers
Origin Protocol
Functions
Validates if the AccessControlAllowedHeaders
in the request are allowed.
Returns correct CORS header (if any) given list of allowed origins and current origin.