set readme banners to absolute url

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
This commit is contained in:
Lorenzo Lewis
2023-07-28 19:37:14 +01:00
parent aba07c27b8
commit c46b464c69
26 changed files with 92 additions and 92 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
![plugin-websocket](banner.png)
![plugin-websocket](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/websocket/banner.png)
Expose a WebSocket server to your Tauri frontend.
@@ -60,11 +60,11 @@ fn main() {
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
```javascript
import WebSocket from "@tauri-apps/plugin-websocket";
import WebSocket from '@tauri-apps/plugin-websocket';
const ws = await WebSocket.connect("wss://example.com");
const ws = await WebSocket.connect('wss://example.com');
await ws.send("Hello World");
await ws.send('Hello World');
await ws.disconnect();
```