code: def net_send(out_data, conn):
      ''' Write pending data from websocket to network. '''
      print('Sending {} bytes'.format(len(out_data)))
      conn.send(out_dataf net_send(out_data, conn):
      ''' Write pending data from websocket to network. '''
      print('Sending {} bytes'.format(len(out_data)))
      conn.send(out_data)
docs: Write pending data from websocket to network.