jina.peapods.runtimes.asyncio.rest

class jina.peapods.runtimes.asyncio.rest.RESTRuntime(args)[source]

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

Runtime for REST.

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_cancel()[source]

Stop the server.