MCPcopy Index your code
hub / github.com/angular/angular / disable

Method disable

packages/common/http/src/module.ts:59–64  ·  view source on GitHub ↗

* Disable the default XSRF protection.

()

Source from the content-addressed store, hash-verified

57 * Disable the default XSRF protection.
58 */
59 static disable(): ModuleWithProviders<HttpClientXsrfModule> {
60 return {
61 ngModule: HttpClientXsrfModule,
62 providers: [withNoXsrfProtection().ɵproviders],
63 };
64 }
65
66 /**
67 * Configure XSRF protection.

Callers

nothing calls this directly

Calls 1

withNoXsrfProtectionFunction · 0.90

Tested by

no test coverage detected