Skip to content

Commit bb481be

Browse files
authored
Update README.md
1 parent 12f8fca commit bb481be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ You can receive callbacks at the EventEmitter and can use the same object format
2626
Server side
2727

2828
```bash
29-
$ deno run --allow-net https://deno.land/x/websocket@v0.1.2/example/server.ts
29+
$ deno run --allow-net https://deno.land/x/websocket@v0.1.3/example/server.ts
3030
```
3131

3232
Client side
3333

3434
```bash
35-
$ deno run --allow-net https://deno.land/x/websocket@v0.1.2/example/client.ts
35+
$ deno run --allow-net https://deno.land/x/websocket@v0.1.3/example/client.ts
3636
ws connected! (type 'close' to quit)
3737
> something
3838
```
@@ -42,7 +42,7 @@ ws connected! (type 'close' to quit)
4242
Server side
4343

4444
```typescript
45-
import { WebSocketClient, WebSocketServer } from "https://deno.land/x/websocket@v0.1.2/mod.ts";
45+
import { WebSocketClient, WebSocketServer } from "https://deno.land/x/websocket@v0.1.3/mod.ts";
4646

4747
const wss = new WebSocketServer(8080);
4848
wss.on("connection", function (ws: WebSocketClient) {
@@ -57,7 +57,7 @@ wss.on("connection", function (ws: WebSocketClient) {
5757
Client side
5858

5959
```typescript
60-
import { WebSocketClient, StandardWebSocketClient } from "https://deno.land/x/websocket@v0.1.2/mod.ts";
60+
import { WebSocketClient, StandardWebSocketClient } from "https://deno.land/x/websocket@v0.1.3/mod.ts";
6161
const endpoint = "ws://127.0.0.1:8080";
6262
const ws: WebSocketClient = new StandardWebSocketClient(endpoint);
6363
ws.on("open", function() {

0 commit comments

Comments
 (0)