

def _send_open(self):
    args = Writer()
    args.write_shortstr(self.connection._vhost)
    args.write_shortstr('')
    args.write_bit(True)
    self.send_frame(MethodFrame(self.channel_id, 10, 40, args))
    self.add_synchronous_cb(self._recv_open_ok)

dataset/ETHPy150Open agoragames/haigha/haigha/connection.py ConnectionChannel._send_open/original