Noise: add TODO comments

This commit is contained in:
mhchia 2020-02-08 10:48:29 +08:00
parent fb53edbc04
commit f27db83a14
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -25,9 +25,11 @@ class NoiseConnection(BaseSession):
self.conn = conn
async def read(self, n: int = None) -> bytes:
# TODO: Add decryption logic here
return await self.conn.read(n)
async def write(self, data: bytes) -> None:
# TODO: Add encryption logic here
await self.conn.write(data)
async def close(self) -> None: