mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
Merge pull request #45 from tauri-apps/renovate/tokio-tungstenite-0.x
This commit is contained in:
+1
-1
@@ -11,4 +11,4 @@ rand = "0.8"
|
||||
tauri = "1.0.0-rc.3"
|
||||
futures-util = "0.3"
|
||||
tokio = { version = "1.17", features = ["net", "sync"] }
|
||||
tokio-tungstenite = { version = "0.16", features = ["native-tls"] }
|
||||
tokio-tungstenite = { version = "0.17", features = ["native-tls"] }
|
||||
|
||||
@@ -122,6 +122,7 @@ fn connect<R: Runtime>(
|
||||
})))
|
||||
.unwrap()
|
||||
}
|
||||
Ok(Message::Frame(_)) => serde_json::Value::Null, // This value can't be recieved.
|
||||
Err(e) => serde_json::to_value(Error::from(e)).unwrap(),
|
||||
};
|
||||
let js = format_callback(callback_function, &response)
|
||||
|
||||
Reference in New Issue
Block a user