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

Function withNoXsrfProtection

packages/common/http/src/provider.ts:230–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228 * @see {@link provideHttpClient}
229 */
230export function withNoXsrfProtection(): HttpFeature<HttpFeatureKind.NoXsrfProtection> {
231 return makeHttpFeature(HttpFeatureKind.NoXsrfProtection, [
232 {
233 provide: XSRF_ENABLED,
234 useValue: false,
235 },
236 ]);
237}
238
239/**
240 * Add JSONP support to the configuration of the current `HttpClient` instance.

Callers 4

provider_spec.tsFile · 0.90
client_spec.tsFile · 0.90
disableMethod · 0.90
request_spec.tsFile · 0.90

Calls 1

makeHttpFeatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…