Interface: WebFetchTransport
Defined in: packages/tools/src/web/web-fetch.ts:69
Resolution and connection, so the address that was checked is the one the
socket connects to. resolve returns every address for a hostname; fetch
sends one GET to url with the socket connected to address (TLS still
verified against the URL's hostname) and returns the response unfollowed.
Methods
fetch()
fetch(
url,init,address):Promise<Response>
Defined in: packages/tools/src/web/web-fetch.ts:71
Parameters
url
string
init
address
string
Returns
Promise<Response>
resolve()
resolve(
hostname):Promise<string[]>
Defined in: packages/tools/src/web/web-fetch.ts:70
Parameters
hostname
string
Returns
Promise<string[]>