mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-28 15:41:03 +03: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:
@@ -548,6 +548,10 @@ impl UI {
|
||||
change_id_shared(id, old_id);
|
||||
}
|
||||
|
||||
fn http_request(&self, url: String, method: String, body: Option<String>, header: String) {
|
||||
http_request(url, method, body, header)
|
||||
}
|
||||
|
||||
fn post_request(&self, url: String, body: String, header: String) {
|
||||
post_request(url, body, header)
|
||||
}
|
||||
@@ -560,6 +564,10 @@ impl UI {
|
||||
get_async_job_status()
|
||||
}
|
||||
|
||||
fn get_http_status(&self, url: String) -> Option<String> {
|
||||
get_async_http_status(url)
|
||||
}
|
||||
|
||||
fn t(&self, name: String) -> String {
|
||||
crate::client::translate(name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user