diff --git a/notification_client/client.py b/notification_client/client.py index 22a8196..de86e33 100644 --- a/notification_client/client.py +++ b/notification_client/client.py @@ -32,12 +32,17 @@ class Client: reader, writer = await asyncio.open_connection(self.__ip, self.__port) await self.handle(reader, writer) + @staticmethod + async def receive_message(reader) -> str: + size, = struct.unpack('