Module jsonrpc_http_server::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.