mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 02:16:00 +02:00
fix: http/https proxy (#7821)
* add http(s) proxy
* Add front-end translation
* fix ui description
* For linux platform, add rustls support
* fix: Fix the proxy address test function.
* add: Added default prompts for agency agreement and some multi-language translations
* add: Http proxy request client
* fix: add async http proxy func and format the code
* add: Preliminary support for flutter front-end calling rust back-end http request
* Optimize HTTP calls
* Optimize HTTP calls
* fix: Optimize HTTP requests, refine translations, and fix dependencies
* fix: Win and macOS compilation errors
* fix: web platforms
* fix: Optimize import
* fix: Fix web platform issues
* fix: Fix web platform issues
* fix: update ci
* fix: test ci
* test: test CI
* Revert "fix: update ci"
This reverts commit 2e5f247b2e
.
* test: test CI
* test: test CI
* fix: fix lock file
* fix: Optimize imports
This commit is contained in:
parent
66d1af63b0
commit
43a0a4f8e0
68 changed files with 1174 additions and 131 deletions
|
@ -770,6 +770,24 @@ class RustdeskImpl {
|
|||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
Future<bool> mainGetProxyStatus({dynamic hint}) {
|
||||
return Future(() => false);
|
||||
}
|
||||
|
||||
Future<void> mainHttpRequest({
|
||||
required String url,
|
||||
required String method,
|
||||
String? body,
|
||||
required String header,
|
||||
dynamic hint,
|
||||
}) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
Future<String?> mainGetHttpStatus({required String url, dynamic hint}){
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
String mainGetLocalOption({required String key, dynamic hint}) {
|
||||
return js.context.callMethod('getByName', ['option:local', key]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue