• 개요
@angular/common/http

withXsrfConfiguration

함수

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>;
@param{ cookieName, headerName, }{ cookieName?: string | undefined; headerName?: string | undefined; }

설명

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

This feature is incompatible with the withNoXsrfProtection feature.

상세 내용으로 이동