Skip to content

BrexCore

Defined in: src/core/client.ts:35

The shared HTTP engine behind every generated resource class. Not part of the typed API surface — use the Brex class or a per-API client instead.

new BrexCore(options): BrexCore

Defined in: src/core/client.ts:39

BrexOptions

BrexCore

list<P>(path, args?): PagePromise<P>

Defined in: src/core/client.ts:91

P extends PageShape

string

RequestArgs = {}

PagePromise<P>


request<T>(method, path, args?): Promise<T>

Defined in: src/core/client.ts:50

T

string

string

RequestArgs = {}

Promise<T>