mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
fix: test if valid server, control if try test with proxy (#7858)
* fix: test if valid server, control if try test with proxy Signed-off-by: fufesou <shuanglongchen@yeah.net> * fix: build Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -680,7 +680,8 @@ class RustdeskImpl {
|
||||
return Future(() => js.context.callMethod('setByName', ['options', json]));
|
||||
}
|
||||
|
||||
Future<String> mainTestIfValidServer({required String server, dynamic hint}) {
|
||||
Future<String> mainTestIfValidServer(
|
||||
{required String server, required bool testWithProxy, dynamic hint}) {
|
||||
// TODO: implement
|
||||
return Future.value('');
|
||||
}
|
||||
@@ -788,7 +789,7 @@ class RustdeskImpl {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
Future<String?> mainGetHttpStatus({required String url, dynamic hint}){
|
||||
Future<String?> mainGetHttpStatus({required String url, dynamic hint}) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user