From c35f534663fa14b5a0a4ba9beb57a63b9ae1a5a9 Mon Sep 17 00:00:00 2001
From: aetheryx
Handler for reading data from POST and such requests. You MUST copy the data of chunk if isLast is not true. We Neuter ArrayBuffers on return, making it zero length.
diff --git a/docs/index.d.ts b/docs/index.d.ts index 0baafa87..cbb20145 100644 --- a/docs/index.d.ts +++ b/docs/index.d.ts @@ -150,7 +150,7 @@ export interface HttpResponse { /** Every HttpResponse MUST have an attached abort handler IF you do not respond * to it immediately inside of the callback. Returning from an Http request handler - * without attaching (by calling onAborted) an abort handler is ill-use and will termiante. + * without attaching (by calling onAborted) an abort handler is ill-use and will terminate. * When this event emits, the response has been aborted and may not be used. */ onAborted(handler: () => void) : HttpResponse;
Every HttpResponse MUST have an attached abort handler IF you do not respond to it immediately inside of the callback. Returning from an Http request handler -without attaching (by calling onAborted) an abort handler is ill-use and will termiante. +without attaching (by calling onAborted) an abort handler is ill-use and will terminate. When this event emits, the response has been aborted and may not be used.