MCPcopy Index your code
hub / github.com/nodejs/node / protocol

Method protocol

lib/internal/url.js:1012–1014  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1010 }
1011
1012 get protocol() {
1013 return StringPrototypeSlice(this.#context.href, 0, this.#context.protocol_end);
1014 }
1015
1016 set protocol(value) {
1017 const href = bindingUrl.update(this.#context.href, updateActions.kProtocol, `${value}`);

Callers

nothing calls this directly

Calls 2

#updateContextMethod · 0.95
updateMethod · 0.65

Tested by

no test coverage detected