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

Method setBody

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

Source from the content-addressed store, hash-verified

839 });
840
841 public setBody(body: any) {
842 this.sub$.next(body);
843 this.sub$.complete();
844 }
845
846 public setupBodyStream(body?: string) {
847 if (body && this.progress.length) {

Callers 1

mockFlushMethod · 0.80

Calls 2

nextMethod · 0.45
completeMethod · 0.45

Tested by

no test coverage detected