DeekWebPreparedRequest class final

Serialized request data. Headers are case-insensitive with lowercase keys. Every byte-buffer read is a defensive copy.

Constructors

DeekWebPreparedRequest({required String method, required Uri uri, Map<String, String> headers = const {}, List<int> bodyBytes = const []})

Properties

bodyBytes → Uint8List
A mutable defensive copy for callers that need to inspect or edit bytes.
no setter
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
final
method → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Uri
final

Methods

copyWith({String? method, Uri? uri, Map<String, String>? headers, List<int>? bodyBytes}) → DeekWebPreparedRequest
Unchanged data shares the existing immutable snapshot. New caller-owned headers or bytes are copied at this ownership boundary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited