core/api/web_credentials library
Functions
-
enableWebCredentials(
Dio dio) → void -
On web, makes the browser attach/store cookies for cross-origin credentialed
requests (
withCredentials = true). No-op on native platforms, where the cookie jar handles persistence instead.