Skip to content
Browse files

Describe ws:// and ws+unix:// in README.

  • Loading branch information...
1 parent 41320dc commit 29e9694c842b62d69e375bccceac97c2e973a8c6 @pgriess committed Jun 29, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1
@@ -5,7 +5,7 @@ Tested with
-Requires ry/node@187f191558ef45562865e071fdcd11e1dbec79df (as yet unreleased).
+Requires [nodejs]( 0.1.98 or later.
## Usage
@@ -25,3 +25,9 @@ Requires ry/node@187f191558ef45562865e071fdcd11e1dbec79df (as yet unreleased).
This supports the `send()` and `onmessage()` APIs. The `WebSocket` object will
also emit `data` events that are node `Buffer` objects, in case you want to
work with something lower-level than strings.
+## Transports
+Multiple transports are supported, indicated by the scheme provided to the
+`WebSocket` constructor. `ws://` is a standard TCP-based Web Socket;
+`ws+unix://` allows connection to a UNIX socket at the given path.

0 comments on commit 29e9694

Please sign in to comment.
Something went wrong with that request. Please try again.