Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

withXsrfConfiguration

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.