mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-30 07:27:25 +00:00
14 lines
345 B
Dart
14 lines
345 B
Dart
import '../proto/proto.dart';
|
|
|
|
class Options {
|
|
String? uid, token;
|
|
String? addr; // connect address IP:PORT
|
|
int protoVersion = 0x01; // protocol version
|
|
Function(Function(String addr) complete)?
|
|
getAddr; // async get connect address
|
|
Proto proto = Proto();
|
|
Options();
|
|
|
|
Options.newDefault(this.uid, this.token, {this.addr});
|
|
}
|