Skip to content

Commit 87e2af9

Browse files
authored
doc: update incorrect description of dump.maxSize (#4982)
1 parent bdeef41 commit 87e2af9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/docs/api/Dispatcher.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ const client = new Client("http://service.example").compose(
10311031
The `dump` interceptor enables you to dump the response body from a request upon a given limit.
10321032

10331033
**Options**
1034-
- `maxSize` - The maximum size (in bytes) of the response body to dump. If the size of the request's body exceeds this value then the connection will be closed. Default: `1048576`.
1034+
- `maxSize` - The maximum size (in bytes) of the response body to dump. If the size of the response's body exceeds this value then the connection will be closed. Default: `1048576`.
10351035

10361036
> The `Dispatcher#options` also gets extended with the options `dumpMaxSize`, `abortOnDumped`, and `waitForTrailers` which can be used to configure the interceptor at a request-per-request basis.
10371037

0 commit comments

Comments
 (0)