Toggle Light / Dark / Auto color theme Toggle table of contents sidebar jina.serve.runtimes.gateway.websocket package# Submodules# jina.serve.runtimes.gateway.websocket.app module get_fastapi_app() Module contents# class jina.serve.runtimes.gateway.websocket.WebSocketGatewayRuntime(args, cancel_event=None, **kwargs)[source]# Bases: GatewayRuntime Runtime for Websocket interface. async async_setup()[source]# The async method setup the runtime. Setup the uvicorn server. async async_run_forever()[source]# Running method of ther server. async async_teardown()[source]# Shutdown the server. async async_cancel()[source]# Stop the server.