diff --git a/plugins/websocket/README.md b/plugins/websocket/README.md index 9ca516c50..0d098c1a1 100644 --- a/plugins/websocket/README.md +++ b/plugins/websocket/README.md @@ -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");