MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / request

Function request

test/integration/acl-oidc-test.mjs:42–47  ·  view source on GitHub ↗
(options, cb)

Source from the content-addressed store, hash-verified

40}
41
42function request (options, cb) {
43 // Allow string URL
44 if (typeof options === 'string') options = { url: options }
45 const method = (options.method || 'GET').toLowerCase()
46 return fetchRequest(method, options, cb)
47}
48
49request.get = (options, cb) => fetchRequest('get', options, cb)
50request.put = (options, cb) => fetchRequest('put', options, cb)

Callers 4

acl-tls-test.mjsFile · 0.85
http-copy-test.mjsFile · 0.85
acl-oidc-test.mjsFile · 0.85

Calls 1

fetchRequestFunction · 0.85

Tested by

no test coverage detected