Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
6d975ea
feat: add dump interceptor
metcoder95 Apr 14, 2024
5024ae1
fix(types): interceptor definitions
metcoder95 Apr 14, 2024
befe478
Merge branch 'main' into feat/dump_interceptor
metcoder95 Apr 14, 2024
da70cbd
docs: update maxSize description
metcoder95 Apr 16, 2024
62a4cde
Merge branch 'main' into feat/dump_interceptor
metcoder95 Apr 16, 2024
d82b51b
refactor: leftover
metcoder95 Apr 16, 2024
33b7126
docs: adjust
metcoder95 Apr 16, 2024
e3190f1
feat: abort on dumped
metcoder95 Apr 17, 2024
2fd173d
fix: return on header
metcoder95 Apr 23, 2024
85af461
refactor: apply suggestions
metcoder95 Apr 25, 2024
f5cc824
feat: extend from decorator handler
metcoder95 Apr 25, 2024
675c261
Merge branch 'main' into feat/dump_interceptor
metcoder95 Apr 25, 2024
c43c80c
fix: missing handler
metcoder95 Apr 25, 2024
8548c8e
feat: add dumpOnAbort
metcoder95 Apr 25, 2024
84c0d8b
Merge branch 'main' into feat/dump_interceptor
metcoder95 Apr 25, 2024
13ba7e0
Merge branch 'main' into feat/dump_interceptor
metcoder95 Apr 26, 2024
bf75a5b
test: adjust test
metcoder95 Apr 26, 2024
8607411
fix: bad consumer
metcoder95 Apr 28, 2024
428a953
Merge branch 'main' into feat/dump_interceptor
metcoder95 Apr 28, 2024
8fae866
refactor: tweaks
metcoder95 May 1, 2024
4492ab7
Merge branch 'main' into feat/dump_interceptor
metcoder95 May 8, 2024
cc42e2d
test: simplify
metcoder95 May 8, 2024
c60ee90
test: disable on windows
metcoder95 May 9, 2024
38b24fb
Merge branch 'main' into feat/dump_interceptor
metcoder95 May 10, 2024
fb4ccd8
refactoor Apply suggestions from code review
metcoder95 May 10, 2024
0d67095
chore: dump on abort by default
metcoder95 May 12, 2024
e60add7
fix: typo
metcoder95 May 13, 2024
3a68023
fix: test
metcoder95 May 13, 2024
3e3295f
refactor: Apply suggestions from code review
metcoder95 May 13, 2024
2265a19
fix: lint
metcoder95 May 13, 2024
ae685cf
fix: refactor
metcoder95 May 13, 2024
85ab3d6
Merge branch 'main' into feat/dump_interceptor
metcoder95 May 13, 2024
fb5af55
fix: cleanup leftovers
metcoder95 May 15, 2024
ab67b1b
Merge branch 'main' into feat/dump_interceptor
metcoder95 May 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: update maxSize description
Co-authored-by: Robert Nagy <ronagy@icloud.com>
  • Loading branch information
metcoder95 and ronag authored Apr 16, 2024
commit da70cbd97f69ae3a226a697b4a3ccf885f8e15ae
2 changes: 1 addition & 1 deletion docs/docs/api/Dispatcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ const client = new Client("http://example.com").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. Default: `1048576`.
- `maxSize` - The maximum size (in bytes) of the response body to dump. If the size exceeds this value then the connection will be closed. Default: `1048576`.
Comment thread
metcoder95 marked this conversation as resolved.
Outdated

> The `Dispatcher#options` also gets extended with the option `dumpMaxSize` which can be used to set the default `maxSize` at a request-per-request basis.

Expand Down