MCPcopy Create free account
hub / github.com/angular/dev-infra / request

Function request

github-actions/browserstack/set-browserstack-env.js:10172–10189  ·  view source on GitHub ↗
(opts, callback)

Source from the content-addressed store, hash-verified

10170 { callback, body: res, contentType, statusCode, statusMessage, headers }
10171 );
10172 } else {
10173 this.runInAsyncScope(callback, null, null, {
10174 statusCode,
10175 headers,
10176 trailers: this.trailers,
10177 opaque,
10178 body: res,
10179 context
10180 });
10181 }
10182 }
10183 }
10184 onData(chunk) {
10185 return this.res.push(chunk);
10186 }
10187 onComplete(trailers) {
10188 util.parseHeaders(trailers, this.trailers);
10189 this.res.push(null);
10190 }
10191 onError(err) {
10192 const { res, callback, body, opaque } = this;

Callers

nothing calls this directly

Calls 1

dispatchMethod · 0.45

Tested by

no test coverage detected