From 4d81ab783349c7be314a42b747b29c6c0ba1740b Mon Sep 17 00:00:00 2001 From: YuSheng Chen Date: Mon, 6 Apr 2026 21:55:04 +0800 Subject: [PATCH] doc: update incorrect description of `dump.maxSize` --- docs/docs/api/Dispatcher.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/api/Dispatcher.md b/docs/docs/api/Dispatcher.md index c731690bcf4..d5d2afe54d9 100644 --- a/docs/docs/api/Dispatcher.md +++ b/docs/docs/api/Dispatcher.md @@ -1031,7 +1031,7 @@ const client = new Client("http://service.example").compose( The `dump` interceptor enables you to dump the response body from a request upon a given limit. **Options** -- `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`. +- `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`. > 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.