minos.networks.rest.services module

class minos.networks.rest.services.RestService(**kwargs)[source]

Bases: aiomisc.service.aiohttp.AIOHTTPService

Rest Interface

Expose REST Interface handler using aiomisc AIOHTTPService.

__init__(**kwargs)[source]
property context: aiomisc.context.Context
Return type

aiomisc.context.Context

async create_application()[source]

Create the web application.

Return type

aiohttp.web_app.Application

Returns

A web.Application instance.

async create_site()
Return type

aiohttp.web_runner.SockSite

set_loop(loop)
Return type

None

async start()
Return type

None

property start_event: asyncio.locks.Event
Return type

asyncio.locks.Event

async stop(exception=None)
Return type

None