BugCapsuleDio class
Constructors
BugCapsuleDio ({List <EndpointRule > rules = const [] , Set <String > ignoreQuery = const {'_', 'ts', 'timestamp', 'nonce', 'cachebust'} , Set <String > ignoreBodyFields = const {} , int maxBinaryBytes = 64 * 1024 , int maxKeyBodyBytes = 64 * 1024 , Duration maxBodyWait = const Duration(seconds: 30) , bool exclude (RequestOptions options )? })
Properties
exclude
→ bool Function(RequestOptions options ) ?
Requests for which only method, redacted URL, status and timing are
recorded: no headers, no bodies (e.g. login or payment endpoints).
final
hashCode
→ int
The hash code for this object.
no setter inherited
keys
→ RequestKeyBuilder
final
maxBinaryBytes
→ int
final
maxBodyWait
→ Duration
A response body still streaming after this long is recorded as
truncated so long-lived (non-SSE) streams appear in the capsule.
final
maxKeyBodyBytes
→ int
Request bodies up to this size take part in the request key. Fixed
(not tied to remote config) so capture and replay always agree; larger
bodies are keyed without a body hash.
final
name
→ String
Key of this integration's data in checkpoints, e.g. bloc.
no setter override
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited