Split up HTTP sending logic (#320)

This commit is contained in:
Gregory Schier authored and GitHub committed 2025-12-20 14:10:55 -08:00
1 parent cfbfd66eef
commit 46933059f6
41 files changed
+2708 -732

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ pub(crate) async fn connect<R: Runtime>(
&UpdateSource::from_window(&window),
)?;
let (mut url, url_parameters) = apply_path_placeholders(&request.url, request.url_parameters);
let (mut url, url_parameters) = apply_path_placeholders(&request.url, &request.url_parameters);
if !url.starts_with("ws://") && !url.starts_with("wss://") {
url.insert_str(0, "ws://");
}