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

Method setHeader

lib.esm/utils/fetch.js:258–260  ·  view source on GitHub ↗

* Set the header for %%key%% to %%value%%. All values are coerced * to a string.

(key, value)

Source from the content-addressed store, hash-verified

256 * to a string.
257 */
258 setHeader(key, value) {
259 this.#headers[String(key).toLowerCase()] = String(value);
260 }
261 /**
262 * Clear all headers, resetting all intrinsic headers.
263 */

Callers 3

fetchMethod · 0.95
getGasStationPluginFunction · 0.45
_sendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected