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