コード例 #1
0
ファイル: stream.py プロジェクト: fakegit/ludios_wpull
 def __init__(self, connection, keep_alive=True, ignore_length=False):
     self._connection = connection
     self._keep_alive = keep_alive
     self._ignore_length = ignore_length
     self._data_event_dispatcher = DataEventDispatcher()
     self._read_size = 4096
     self._decompressor = None
コード例 #2
0
ファイル: stream.py プロジェクト: fakegit/ludios_wpull
 def __init__(self, connection: Connection):
     self._connection = connection
     self._data_event_dispatcher = DataEventDispatcher()