Skip to content

Commit c28ea6f

Browse files
xconvergemetcoder95
authored andcommitted
Update DispatchOptions type (nodejs#1889)
1 parent 1ae80c8 commit c28ea6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/dispatcher.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ declare namespace Dispatcher {
105105
query?: Record<string, any>;
106106
/** Whether the requests can be safely retried or not. If `false` the request won't be sent until all preceding requests in the pipeline have completed. Default: `true` if `method` is `HEAD` or `GET`. */
107107
idempotent?: boolean;
108+
/** Whether the response is expected to take a long time and would end up blocking the pipeline. When this is set to `true` further pipelining will be avoided on the same connection until headers have been received. */
109+
blocking?: boolean;
108110
/** Upgrade the request. Should be used to specify the kind of upgrade i.e. `'Websocket'`. Default: `method === 'CONNECT' || null`. */
109111
upgrade?: boolean | string | null;
110112
/** The amount of time the parser will wait to receive the complete HTTP headers. Defaults to 30 seconds. */

0 commit comments

Comments
 (0)