withCredentials property

  1. @override
bool get withCredentials
inherited

Whether or not to send the request with credentials.

Implementation

@override
bool get withCredentials => _withCredentials;
  1. @override
set withCredentials (bool flag)
inherited

Set the withCredentials flag, determining whether or not the request will include credentials (secure cookies).

Implementation

@override
set withCredentials(bool flag) {
  verifyUnsent();
  _withCredentials = flag;
}