MCPcopy Create free account
hub / github.com/angular/angular / withNoXsrfProtection

Function withNoXsrfProtection

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

Source from the content-addressed store, hash-verified

234 * @see {@link provideHttpClient}
235 */
236export function withNoXsrfProtection(): HttpFeature<HttpFeatureKind.NoXsrfProtection> {
237 return makeHttpFeature(HttpFeatureKind.NoXsrfProtection, [
238 {
239 provide: XSRF_ENABLED,
240 useValue: false,
241 },
242 ]);
243}
244
245/**
246 * 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