offset (uint) passed to onWritable callback
This commit is contained in:
parent
ba8deb5272
commit
27517bfe77
2
docs/index.d.ts
vendored
2
docs/index.d.ts
vendored
@ -61,7 +61,7 @@ interface HttpResponse {
|
|||||||
* You MUST return true for success, false for failure.
|
* You MUST return true for success, false for failure.
|
||||||
* Writing nothing is always success, so by default you must return true.
|
* Writing nothing is always success, so by default you must return true.
|
||||||
*/
|
*/
|
||||||
onWritable(handler: (res: HttpResponse) => boolean) : HttpResponse;
|
onWritable(handler: (offset: number) => boolean) : HttpResponse;
|
||||||
|
|
||||||
/** Every HttpResponse MUST have an attached abort handler IF you do not respond
|
/** 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
|
* to it immediately inside of the callback. Returning from an Http request handler
|
||||||
|
Loading…
Reference in New Issue
Block a user