aiohttp

Wires for the aiohttp project.

class harness.wires.aiohttp.web.ServerWire(app: aiohttp.web.Application, *, access_log: Optional[logging.Logger] = None)

Output wire to start HTTP server and serve aiohttp application.

type:outputconfig:harness.http.Server

Requirements:

  • aiohttp[speedups]
Parameters
  • app – configured aiohttp.web.Application to run

  • access_log – enable access logs by providing a logger instance