Noise: add TODO comments
This commit is contained in:
parent
fb53edbc04
commit
f27db83a14
|
@ -25,9 +25,11 @@ class NoiseConnection(BaseSession):
|
||||||
self.conn = conn
|
self.conn = conn
|
||||||
|
|
||||||
async def read(self, n: int = None) -> bytes:
|
async def read(self, n: int = None) -> bytes:
|
||||||
|
# TODO: Add decryption logic here
|
||||||
return await self.conn.read(n)
|
return await self.conn.read(n)
|
||||||
|
|
||||||
async def write(self, data: bytes) -> None:
|
async def write(self, data: bytes) -> None:
|
||||||
|
# TODO: Add encryption logic here
|
||||||
await self.conn.write(data)
|
await self.conn.write(data)
|
||||||
|
|
||||||
async def close(self) -> None:
|
async def close(self) -> None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user