new Request
src/request.ts:90new Request(
info: string | URL | RequestOptions | Request,
init?: RequestOptions,
defaultHeaders?: Headers,
)defaultHeaders fill in the headers the request doesn't already have
import { Request } from 'detritus-rest';new Request(
info: string | URL | RequestOptions | Request,
init?: RequestOptions,
defaultHeaders?: Headers,
)defaultHeaders fill in the headers the request doesn't already have
send(): Promise<Response>Can be called again to resend, except with a stream body which can only be sent once
toString(): string