withCredentials property

bool withCredentials

True if cross-site requests should use credentials such as cookies or authorization headers; false otherwise.

This value is ignored for same-site requests.

Source

@DomName('XMLHttpRequest.withCredentials')
@DocsEditable()
bool get withCredentials =>
    _blink.BlinkXMLHttpRequest.instance.withCredentials_Getter_(this);
void withCredentials=(bool value)

True if cross-site requests should use credentials such as cookies or authorization headers; false otherwise.

This value is ignored for same-site requests.

Source

@DomName('XMLHttpRequest.withCredentials')
@DocsEditable()
set withCredentials(bool value) =>
    _blink.BlinkXMLHttpRequest.instance.withCredentials_Setter_(this, value);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/HttpRequest/withCredentials.html