MCPcopy Create free account
hub / github.com/ambianic/peerfetch / get

Method get

javascript/src/peerfetch.ts:445–448  ·  view source on GitHub ↗

* * Similar to axious get(url,[config]) * * @see https://github.com/axios/axios#axiosgeturl-config * * @param {*} url resource to GET * @param {*} config request header options

(url = '/')

Source from the content-addressed store, hash-verified

443 * @param {*} config request header options
444 */
445 async get (url = '/') {
446 const config = { url: url, method: 'GET' }
447 return await this.request(config)
448 }
449
450 /**
451 *

Callers 10

_schedulePingMethod · 0.95
proxy.pyFile · 0.80
_loadPeerIdFunction · 0.80
_fetchFunction · 0.80
pc_dataFunction · 0.80
_config_loggerFunction · 0.80
requestMethod · 0.80
_sendNextRequestMethod · 0.80
_checkResponseReadyMethod · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected