Module jsonrpc_server_utils::cors[][src]

Expand description

CORS handling utility functions

Structs

Case Insensitive wrapper of Ascii strings.

Request Origin

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.