Function jsonrpc_http_server::cors_header
[−]
[src]
pub fn cors_header(
request: &Request,
cors_domains: &Option<Vec<AccessControlAllowOrigin>>
) -> CorsHeader<AccessControlAllowOrigin>
Returns a CORS header that should be returned with that request.