@angular/common/http

withXsrfConfiguration

function

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

withXsrfConfiguration(
{
cookieName,
headerName,
}: { cookieName?: string; headerName?: string; }
): HttpFeature<HttpFeatureKind.CustomXsrfConfiguration>;
Jump to details