Add stop func

This commit is contained in:
2023-07-07 18:52:00 +03:00
parent d4e3a59244
commit 7648c992aa
2 changed files with 17 additions and 8 deletions

View File

@@ -23,4 +23,5 @@ class TCPServer:
async def handle_code(self, code: str, sock: socket.socket) -> None: ...
async def handle_client(self, sock: socket.socket) -> None: ...
async def start(self) -> None: ...
async def stop(self) -> None: ...