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

Method preflightFunc

lib.esm/utils/fetch.js:334–336  ·  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

332 * content before sending a request.
333 */
334 get preflightFunc() {
335 return this.#preflight || null;
336 }
337 set preflightFunc(preflight) {
338 this.#preflight = preflight;
339 }

Callers 1

#sendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected