MCPcopy Create free account
hub / github.com/nodejs/node / url

Method url

deps/undici/src/lib/web/fetch/request.js:610–615  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

608
609 // Returns the URL of request as a string.
610 get url () {
611 webidl.brandCheck(this, Request)
612
613 // The url getter steps are to return this’s request’s URL, serialized.
614 return URLSerializer(this.#state.url)
615 }
616
617 // Returns a Headers object consisting of the headers associated with request.
618 // Note that headers added in the network layer by the user agent will not

Callers

nothing calls this directly

Calls 2

brandCheckMethod · 0.80
URLSerializerFunction · 0.70

Tested by

no test coverage detected