Skip to content

Interface: TransportHandle ​

Defined in: core/src/transport/types.ts:42

What Transport.send() returns: abort, progress and the response promise.

Properties ​

PropertyTypeDescriptionDefined in
onProgress?(loaded, total) => voidAssigned by core after send() returns: upload progress of the request body.core/src/transport/types.ts:46
promisePromise<TransportResponse>Always resolves (never rejects), also for network errors, timeouts and aborts.core/src/transport/types.ts:48

Methods ​

abort() ​

ts
abort(): void;

Defined in: core/src/transport/types.ts:44

Aborts the request. The promise then resolves with error: 'abort'.

Returns ​

void

Released under the MIT License.