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

Method getRequestUrl

lib/resource-mapper.mjs:51–54  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

49
50 // Returns the URL of the given HTTP request
51 getRequestUrl (req) {
52 const { hostname, pathname } = this._parseUrl(req)
53 return this.resolveUrl(hostname, pathname)
54 }
55
56 // Returns the URL corresponding to the relative path on the pod
57 resolveUrl (hostname, pathname = '') {

Callers 3

deleteMethod · 0.80
globHandlerFunction · 0.80
putValidRdfFunction · 0.80

Calls 2

_parseUrlMethod · 0.95
resolveUrlMethod · 0.95

Tested by

no test coverage detected