W3cubDocs

/Angular

withXsrfConfiguration

function

Customizes the XSRF protection for the configuration of the current HttpClient instance.

See more...

withXsrfConfiguration(__0: { cookieName?: string; headerName?: string; }): HttpFeature<HttpFeatureKind.CustomXsrfConfiguration>

Parameters
__0 object
Returns

HttpFeature<HttpFeatureKind.CustomXsrfConfiguration>

See also

Description

This feature is incompatible with the withNoXsrfProtection feature.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/http/withXsrfConfiguration