docs(websocket): fix readme example (#447)

This commit is contained in:
Duke Jones authored and GitHub committed 2023-06-20 08:57:13 +02:00
1 parent c4d2c8c693
commit 7b9d7a1d88
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,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-plugin-websocket-api";
const ws = await WebSocket.connect("wss://example.com");