setWithCredentials method

Loader setWithCredentials(
  1. bool value
)
inherited

Whether the XMLHttpRequest uses credentials such as cookies, authorization headers or TLS client certificates. See XMLHttpRequest.withCredentials.

Note that this has no effect if you are loading files locally or from the same domain.

Implementation

Loader setWithCredentials(bool value) {
  withCredentials = value;
  return this;
}