Skip to main content

Documentation Index

Fetch the complete documentation index at: https://terminal49.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Class: Transport

Constructors

Constructor

new Transport(config): Transport

Parameters

ParameterType
configTransportConfig

Returns

Transport

Properties

PropertyModifierType
baseUrlpublicstring
clientpublicClient

Methods

execute()

execute<T>(fn): Promise<T>

Type Parameters

Type ParameterDefault type
Tany

Parameters

ParameterType
fn() => Promise<FetchResponse<any, any, any>>

Returns

Promise<T>

executeManual()

executeManual<T>(input, init?): Promise<T>

Type Parameters

Type ParameterDefault type
Tany

Parameters

ParameterType
inputstring | Request | URL
init?RequestInit

Returns

Promise<T>

use()

use(interceptor): void

Parameters

ParameterType
interceptorMiddleware

Returns

void