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