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

Method setHeader

lib.commonjs/utils/fetch.js:262–264  ·  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

260 * to a string.
261 */
262 setHeader(key, value) {
263 this.#headers[String(key).toLowerCase()] = String(value);
264 }
265 /**
266 * Clear all headers, resetting all intrinsic headers.
267 */

Callers 3

fetchMethod · 0.95
getGasStationPluginFunction · 0.45
_sendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected