package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 23, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package bodycapture contains the bounded response-body capture shared by
ReqKey's framework adapters.
Capture keeps only enough bytes to reconstruct the first 1,000 UTF-8
characters of a response.
New creates a bounded body capture.
Add records a response chunk without retaining an unbounded stream.
Text returns a privacy-bounded body when the response media type is textual
and the content is not compressed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.