|
|
|
@ -60,7 +60,7 @@ fn main() {
|
|
|
|
|
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
|
|
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
|
import WebSocket from "tauri-plugin-websocket-api";
|
|
|
|
|
import WebSocket from "@tauri-apps/plugin-websocket";
|
|
|
|
|
|
|
|
|
|
const ws = await WebSocket.connect("wss://example.com");
|
|
|
|
|
|
|
|
|
|