MCPcopy Create free account
hub / github.com/CanadaHonk/shadow / constructor

Method constructor

engine/network.js:2–5  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

1export class Page {
2 constructor(url) {
3 this.url = url;
4 this.baseURL = url;
5 }
6
7 resolve(input) {
8 return new URL(input, this.baseURL);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected