KataCxRequest class
One outgoing HTTP request, in the small subset of HTTP this SDK needs.
Deliberately transport-agnostic: dio on iOS/Android and fetch_client on
web implement KataCxTransport against this, so nothing above the transport
layer knows which platform it is running on.
Constructors
Properties
- body → String?
-
Encoded request body, or null.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Request headers.
Content-Typeis added by the transport when body is set.final - method → String
-
HTTP verb, uppercase.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
Absolute URL.
final
Methods
-
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