request method

Future request([
  1. String? x
])
override

Implementation

Future request([x]) async {
  if (_future != null) return;
  var host = shareHosts[this.host];
  if (host == null) return;
  _future = host.request(url.path, data: args.get());
  var r = await _future;
  _future = null;
  resetTo(value: r);
  trigger('request');
  trigger('refresh');
}