Constructor. Args: ws: trio_websocket.WebSocketConnection
(self, ws)
| 400 | """ |
| 401 | |
| 402 | def __init__(self, ws): |
| 403 | """Constructor. |
| 404 | |
| 405 | Args: |
| 406 | ws: trio_websocket.WebSocketConnection |
| 407 | """ |
| 408 | super().__init__(ws, session_id=None, target_id=None) |
| 409 | self.sessions = {} |
| 410 | |
| 411 | async def aclose(self): |
| 412 | """Close the underlying WebSocket connection. |