credentials property

RequestCredentials credentials

Contains the credentials of the request (e.g., omit, same-origin, include). The default is same-origin.

MDN reference

Implementation

RequestCredentials get credentials =>
    _storage.of(#credentials, () => RequestCredentials.include);