jsonrpc_http_server

Function cors_allow_headers

Source
pub fn cors_allow_headers(
    request: &Request<Body>,
    cors_allow_headers: &AccessControlAllowHeaders,
) -> AllowCors<Vec<HeaderValue>>
Expand description

Returns the CORS AllowHeaders header that should be returned with that request.