Skip to content

Commit fe7a442

Browse files
committed
Adding server.broadcast to the documentation.
1 parent ba43187 commit fe7a442

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ is now ready to send and receive data.
6868

6969
The same as the `http.Server` listen method.
7070

71+
### server.broadcast(message) ###
72+
73+
Sends `message` to all connected clients.
74+
7175
### server.close() ###
7276

7377
The same as the `http.Server` close method.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ "name" : "websocket-server"
2-
, "version" : "1.0.4"
2+
, "version" : "1.0.5"
33
, "author" : "Micheil Smith <micheil@brandedcode.com>"
44
, "description" : "A WebSocket server written in low-level node.js, 90-100% spec compatible."
55
, "main" : "./lib/ws"

0 commit comments

Comments
 (0)