mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
Merge pull request #18 from freekzy/fix-lack-of-write_eof-method
fix lack of write_eof method
This commit is contained in:
@@ -150,6 +150,9 @@ class LayeredStreamWriterBase:
|
||||
def write(self, data):
|
||||
return self.upstream.write(data)
|
||||
|
||||
def write_eof(self):
|
||||
return self.upstream.write_eof()
|
||||
|
||||
async def drain(self):
|
||||
return await self.upstream.drain()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user