|
@@ -1,6 +1,7 @@
|
|
|
import 'dart:convert';
|
|
|
import 'package:dio/dio.dart' as dio;
|
|
|
import 'package:fis_common/http/http_error.dart';
|
|
|
+import 'package:fis_jsonrpc/encrpyt.dart';
|
|
|
import 'package:flutter/foundation.dart';
|
|
|
import 'exception.dart';
|
|
|
import 'http_pool.dart';
|
|
@@ -17,6 +18,12 @@ class JsonRpcClientBase {
|
|
|
// ignore: non_constant_identifier_names
|
|
|
static int DEAULT_TIMEOUT = 15000;
|
|
|
|
|
|
+ /// 请求加密配置
|
|
|
+ static JsonRpcEncryptConfig requestEncryptConfig = JsonRpcEncryptConfig();
|
|
|
+
|
|
|
+ /// 响应加密配置
|
|
|
+ static JsonRpcEncryptConfig responseEncryptConfig = JsonRpcEncryptConfig();
|
|
|
+
|
|
|
late int _timeout;
|
|
|
|
|
|
late String _serviceName;
|