jina.serve.runtimes.gateway.http package

Submodules

Module contents

class jina.serve.runtimes.gateway.http.HTTPGatewayRuntime(args, cancel_event=None, \*kwargs*)[source]

Bases: jina.serve.runtimes.gateway.GatewayRuntime

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.