[][src]Function rs_jsonrpc_http_server::cors_header

pub fn cors_header(
    request: &Request,
    cors_domains: &Option<Vec<AccessControlAllowOrigin>>
) -> CorsHeader<AccessControlAllowOrigin>

Returns a CORS header that should be returned with that request.