Client class
A client for sending requests and receiving responses.
Constructors
-
Client(Future<
Message> adapter(Message m, Serializer s), ClientOptions options) - Constructs a Client with an adapter function and client options.
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
-
request(
Message requestMessage) → Future< Message> - Sends a request message and receives a response message.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initClient(
Future< Message> adapter(Message im, Serializer iis), ClientOptions options) → Client - Initializes the client with the adapter function and options.