Customizes the XSRF protection for the configuration of the current HttpClient instance.
API
function withXsrfConfiguration({
cookieName,
headerName,
}: {
cookieName?: string | undefined;
headerName?: string | undefined;
}): HttpFeature<HttpFeatureKind.CustomXsrfConfiguration>;
Description
Customizes the XSRF protection for the configuration of the current HttpClient instance.
This feature is incompatible with the withNoXsrfProtection feature.