Function thruster::middleware::cors::__async_cors
source · [−]pub async fn __async_cors<T: 'static + Context + Send>(
context: T,
next: MiddlewareNext<T>
) -> MiddlewareResult<T>
Expand description
Middleware to allow CORS.