detritus

Clientclass

An HTTP client with a base URL, default headers, and helpers for each method.

On this page
import { Client } from 'detritus-rest';
4 properties9 methodssrc/client.ts:29

Constructor

Properties

agent?
Dispatcher | Agent | (parsedUrl: URL) => Dispatcher | Agent
optional
baseUrl
string | URL
dispatcher?
headers
Headers

Methods