Skip to content

Commit

Permalink
Update DispatchOptions type (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge committed Jan 29, 2023
1 parent f4693d6 commit 0c75102
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/dispatcher.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ declare namespace Dispatcher {
query?: Record<string, any>;
/** 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`. */
idempotent?: boolean;
/** 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. */
blocking?: boolean;
/** Upgrade the request. Should be used to specify the kind of upgrade i.e. `'Websocket'`. Default: `method === 'CONNECT' || null`. */
upgrade?: boolean | string | null;
/** The amount of time the parser will wait to receive the complete HTTP headers. Defaults to 30 seconds. */
Expand Down

0 comments on commit 0c75102

Please sign in to comment.