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

This commit is contained in:
Duke Jones
2023-06-19 23:57:13 -07:00
committed by GitHub
parent c4d2c8c693
commit 7b9d7a1d88
+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");