Interface: TransportHandle
Defined in: core/src/transport/types.ts:42
What Transport.send() returns: abort, progress and the response promise.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
onProgress? | (loaded, total) => void | Assigned by core after send() returns: upload progress of the request body. | core/src/transport/types.ts:46 |
promise | Promise<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