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

Method setBody

packages/common/http/test/fetch_spec.ts:932–935  ·  view source on GitHub ↗
(body: any)

Source from the content-addressed store, hash-verified

930 });
931
932 public setBody(body: any) {
933 this.sub$.next(body);
934 this.sub$.complete();
935 }
936
937 public setupBodyStream(body?: string) {
938 if (body && this.progress.length) {

Callers 1

mockFlushMethod · 0.80

Calls 2

nextMethod · 0.45
completeMethod · 0.45

Tested by

no test coverage detected