method WebClient.prototype.withBaseUrl
WebClient.prototype.withBaseUrl(url: string | URL): WebClient

Returns a new WebClient with the given base URL.

Parameters

url: string | URL

Return Type

Usage

import { WebClient } from ".";