MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / preflightFunc

Method preflightFunc

lib.commonjs/utils/fetch.js:338–340  ·  view source on GitHub ↗

* This function is called prior to each request, for example * during a redirection or retry in case of server throttling. * * This offers an opportunity to populate headers or update * content before sending a request.

()

Source from the content-addressed store, hash-verified

336 * content before sending a request.
337 */
338 get preflightFunc() {
339 return this.#preflight || null;
340 }
341 set preflightFunc(preflight) {
342 this.#preflight = preflight;
343 }

Callers 1

#sendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected