def write(self, data):
        if not isinstance(data, (bytes, bytearray, memoryview)):
            raise TypeError("data: expecting a bytes-like instance, got {!r}"
                                .format(type(data).__name__))
        if not data:
            return
        self._ssl_protocol._write_appdata(data)
Write some data bytes to the transport.
dataset/ETHPy150Open python/asyncio/asyncio/sslproto.py/_SSLProtocolTransport.write