PendingBody class
A captured body whose wire form (WireBody: UTF-8 vs base64, gzip/deflate
decoding, truncation) is produced by the transport encoder, off the UI
isolate when the background transport is used.
Constructors
Properties
- bytes → Uint8List
-
Captured prefix (at most limit bytes).
final
- capture → bool
-
config.captureBodiesat capture time; false → only the size is sent.final - contentEncoding → String?
-
Set when bytes are still compressed (e.g.
gzipwithautoUncompress = false, orbr/deflatewhich dart:io never decodes).final - contentType → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
config.maxBodyBytesat capture time.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Total number of bytes seen on the stream.
final
- truncated → bool
-
Whether bytes is shorter than the whole body.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMessageValue(
) → Map< String, Object?> -
Marker map understood by the encoder (see
resolvePendingBodies). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited