jina.peapods.runtimes.gateway.http package

Submodules

Module contents

class jina.peapods.runtimes.gateway.http.HTTPRuntime(args, cancel_event=None, **kwargs)[source]

Bases: jina.peapods.runtimes.zmq.asyncio.AsyncNewLoopRuntime

Runtime for HTTP 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.