HttpTransport class abstract
Abstraction over the network layer used by ZeroXKeyClient.
Implementations only perform the wire I/O; request stamping, envelope construction, status validation and JSON decoding remain the caller's responsibility so the API protocol stays identical regardless of transport.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
{required String url, required String body, required Map< String, String> headers, Duration? timeout}) → Future<HttpResponse> - Sends a POST request and returns the raw status code and body.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited