mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-07-01 00:11:57 +08:00
迁移至自建服务
This commit is contained in:
@ -1,17 +0,0 @@
|
||||
import 'package:grpc/grpc.dart';
|
||||
import 'package:starcitizen_doctor/common/conf.dart';
|
||||
|
||||
class GrpcClient {
|
||||
static final channel = ClientChannel(
|
||||
'grpc.sctoolbox.xkeyc.com',
|
||||
port: 8439,
|
||||
options: ChannelOptions(
|
||||
credentials: ChannelCredentials.secure(
|
||||
certificates: AppConf.certData,
|
||||
authority: 'grpc.sctoolbox.fake.bilibili.com',
|
||||
),
|
||||
codecRegistry:
|
||||
CodecRegistry(codecs: const [GzipCodec(), IdentityCodec()]),
|
||||
),
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user