(self, host="localhost", port=WS_DEFAULT_PORT)
| 13 | |
| 14 | class WebSocketServer: |
| 15 | def __init__(self, host="localhost", port=WS_DEFAULT_PORT): |
| 16 | self.host = host |
| 17 | self.port = port |
| 18 | self.interface = SyncWebSocketInterface() |
| 19 | self.server = SyncServer(default_interface=self.interface) |
| 20 | |
| 21 | def shutdown_server(self): |
| 22 | try: |
nothing calls this directly
no test coverage detected