AtRpcClient class

Implemented types
Annotations
  • @experimental

Constructors

AtRpcClient({required String serverAtsign, required AtClient atClient, required String baseNameSpace, String rpcsNameSpace = '__rpcs', required String domainNameSpace})

Properties

completerMap Map<int, Completer<Map<String, dynamic>>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rpc AtRpc
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverAtsign String
latefinal

Methods

call(Map<String, dynamic> payload) Future<Map<String, dynamic>>
handleRequest(AtRpcReq request, String fromAtSign) Future<AtRpcResp>
Called when a 'request' is received
override
handleResponse(AtRpcResp response) Future<void>
Called when a 'response' is received
override
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

Static Properties

logger → AtSignLogger
final