Skip to content

Commit

Permalink
Update v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-ma committed Sep 20, 2020
1 parent 1f2795a commit b3ec21d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
Server side

```bash
$ deno run --allow-net https://deno.land/x/websocket@v0.0.4/example/server.ts
$ deno run --allow-net https://deno.land/x/websocket@v0.0.5/example/server.ts
```

Client side

```bash
$ deno run --allow-net https://deno.land/x/websocket@v0.0.4/example/client.ts
$ deno run --allow-net https://deno.land/x/websocket@v0.0.5/example/client.ts
ws connected! (type 'close' to quit)
> something
```
Expand All @@ -37,7 +37,7 @@ ws connected! (type 'close' to quit)
Server side

```typescript
import { WebSocket, WebSocketServer } from "https://deno.land/x/websocket@v0.0.4/mod.ts";
import { WebSocket, WebSocketServer } from "https://deno.land/x/websocket@v0.0.5/mod.ts";

const wss = new WebSocketServer(8080);
wss.on("connection", function (ws: WebSocket) {
Expand All @@ -52,7 +52,7 @@ wss.on("connection", function (ws: WebSocket) {
Client side

```typescript
import { WebSocket } from "https://deno.land/x/websocket@v0.0.4/mod.ts";
import { WebSocket } from "https://deno.land/x/websocket@v0.0.5/mod.ts";
const endpoint = "ws://127.0.0.1:8080";
const ws: WebSocket = new WebSocket(endpoint);
ws.on("open", function() {
Expand Down
2 changes: 1 addition & 1 deletion egg.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: deno-websocket
description: A simple WebSocket library like ws of node.js library for Deno
stable: true
version: v0.0.4
version: v0.0.5
repository: https://github.com/ryo-ma/deno-websocket
files:
./mod.ts
Expand Down

0 comments on commit b3ec21d

Please sign in to comment.