open method

void open(
  1. String method,
  2. String url, [
  3. bool async,
  4. String? username,
  5. String? password,
])

The XMLHttpRequest method open() initializes a newly-created request, or re-initializes an existing one.

Note: Calling this method for an already active request (one for which open() has already been called) is the equivalent of calling XMLHttpRequest.abort.

Implementation

external void open(
  String method,
  String url, [
  bool async,
  String? username,
  String? password,
]);