method WebClient.prototype.withFetch
WebClient.prototype.withFetch(fetch: globalThis.fetch): WebClient

Returns a new WebClient using the given fetch function.

Parameters

fetch: globalThis.fetch

Return Type

Usage

import { WebClient } from ".";