- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for middleware_func (0.08 sec)
-
tests/test_ws_router.py
with client.websocket_connect("/no-router/"): pass # pragma: no cover assert e.value.code == status.WS_1000_NORMAL_CLOSURE def websocket_middleware(middleware_func): """ Helper to create a Starlette pure websocket middleware """ def middleware_constructor(app): @functools.wraps(app) async def wrapped_app(scope, receive, send):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
cmd/routers.go
} // List of some generic middlewares which are applied for all incoming requests. var globalMiddlewares = []mux.MiddlewareFunc{ // set x-amz-request-id header and others addCustomHeadersMiddleware, // The generic tracer needs to be the first middleware to catch all requests // returned early by any other middleware (but after the middleware that
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0)