general_json_rpc library

Typedefs

JsonRpcCallback<R> = FutureOr<R?> Function(dynamic params)
NotificationHandler = void Function(RpcRequest notification)
ResponseErrorHandler = void Function(dynamic id, RpcError error)
ResponseResultHandler = void Function(dynamic id, dynamic result)
RpcBatchHandler = Future<RpcBatch?> Function(RpcBatch batch)
RpcMeta = Map<String, dynamic>
RpcRequestHandler = Future<RpcResponse?> Function(RpcRequest request)
RpcResponseHandler = void Function(RpcResponse response)