minos.networks.http.ports
Classes
Http Port class. |
|
Rest Service class. |
- class HttpPort[source]
Bases:
Port
Http Port class.
- connector
Get the port connector.
- Returns
A
HttpConnector
instance.
- property context: aiomisc.context.Context
- set_loop(loop)
- Parameters
loop (AbstractEventLoop) –
- Return type
None
- async start()
Start the port execution.
- Returns
This method does not return anything.
- Return type
None
- property start_event: asyncio.locks.Event
- class RestService[source]
Bases:
HttpPort
Rest Service class.
- connector
Get the port connector.
- Returns
A
HttpConnector
instance.
- property context: aiomisc.context.Context
- set_loop(loop)
- Parameters
loop (AbstractEventLoop) –
- Return type
None
- async start()
Start the port execution.
- Returns
This method does not return anything.
- Return type
None
- property start_event: asyncio.locks.Event