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

pull/448/head^2
Duke Jones 2 years ago committed by GitHub
parent c4d2c8c693
commit 7b9d7a1d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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");

Loading…
Cancel
Save