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