withCredentials property

bool withCredentials
getter/setter pair

Whether to send credentials such as cookies or authorization headers for cross-site requests.

Defaults to false.

You can also override this value in Options.extra'withCredentials' for each request

Implementation

bool withCredentials = false;