Lines Matching refs:data
105 Buffered data will be flushed asynchronously. No more data
106 will be received. After all buffered data is flushed, the
129 No data will be passed to the protocol's data_received()
207 def write(self, data):
208 """Write some data bytes to the transport.
210 This does not block; it buffers the data and arranges for it
213 if not isinstance(data, (bytes, bytearray, memoryview)):
214 raise TypeError(f"data: expecting a bytes-like instance, "
215 f"got {type(data).__name__}")
216 if not data:
218 self._ssl_protocol._write_appdata((data,))
221 """Write a list (or any iterable) of data bytes to the transport.
229 """Close the write end after flushing buffered data.
242 Buffered data will be lost. No more data will be received.
254 def _test__append_write_backlog(self, data):
256 self._ssl_protocol._write_backlog.append(data)
257 self._ssl_protocol._write_buffer_size += len(data)
305 # App data write buffering
684 for data in list_of_data:
685 self._write_backlog.append(data)
686 self._write_buffer_size += len(data)
698 data = self._write_backlog[0]
699 count = self._sslobj.write(data)
700 data_len = len(data)
702 self._write_backlog[0] = data[count:]
713 data = self._outgoing.read()
714 if len(data):
715 self._transport.write(data)
787 data = [first, chunk]
789 data.append(chunk)
795 self._app_protocol.data_received(b''.join(data))