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

Method delete

packages/common/http/src/client.ts:898–907  ·  view source on GitHub ↗

* Constructs an observable that, when subscribed, causes the configured * `DELETE` request to execute on the server. See the individual overloads for * details on the return type. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. *

(
    url: string,
    options: {
      observe?: 'body' | 'events' | 'response';
      responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
      body?: any | null;
    } & HttpClientCommonOptions = {},
  )

Source from the content-addressed store, hash-verified

896 *
897 */
898 delete(
899 url: string,
900 options: {
901 observe?: 'body' | 'events' | 'response';
902 responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
903 body?: any | null;
904 } & HttpClientCommonOptions = {},
905 ): Observable<any> {
906 return this.request<any>('DELETE', url, options as any);
907 }
908
909 /**
910 * Constructs a `GET` request that interprets the body as an `ArrayBuffer` and returns the

Callers 15

componentReplacedMethod · 0.45
removeUsageMethod · 0.45
removeHostMethod · 0.45
unobserveMethod · 0.45
mockCancelIdleCallbackFunction · 0.45
watchFileMethod · 0.45
clearMethod · 0.45
deleteHeroMethod · 0.45
collectionHandlerFunction · 0.45
ngOnDestroyMethod · 0.45
removeControlMethod · 0.45

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected