enableWebCredentials function

void enableWebCredentials(
  1. Dio dio
)

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.

Implementation

void enableWebCredentials(Dio dio) => impl.enableWebCredentials(dio);