Please sign in to comment.
Major overhaul after much testing.
Notable changes: - The example server is now a more complete demo, allowing connections to the server via any of the implemented transports. - Flash WebSocket support added (via gimite/web-socket-js). - The plain TCP client handling is now disabled by default. Plain TCP client handling on the same port could currently present a problem with the addition of Flash WebSocket support. - A grappler server's origins option can now either be a "*:*"-type string, or an array of such strings. - Connections now only add themselves to the server's connection hash if they plan on sticking around for awhile. - Long polling is now implemented such that a persistent connection is emulated. - Removed unnecessary code.
- Loading branch information...
Showing with 649 additions and 199 deletions.
|@@ -1,22 +1,29 @@|
|-Grappler is a minimalistic server for hanging TCP/HTTP connections. It supports the following transports:|
|+Grappler is a minimalistic server for hanging ("comet") TCP/HTTP connections that exposes a single, consistent API across all transports.|
|+It supports the following transports:|
|- WebSockets (with Flash policy support)|
|- XHR Long Polling|
|- XHR Multipart Streaming|
|- Server-Sent Events|
|-- Plain TCP connections|
|+- Plain TCP connections (Not yet implemented)|
|- Tested with Node v0.1.100+|
|- A client supporting one of the aforementioned transports.|
|-- For HTTP (not websocket) clients, cookies must be enabled for clients ONLY if they are going to send messages (i.e. via POST) to the server.|
|+- For HTTP (non-WebSocket) clients, cookies must be enabled for clients ONLY if they are going to send messages (i.e. via POST) to the server.|
|-Grappler is currently very much a WIP.|
|+Visit the example server's test page in your browser: http://serverip:8080/test|
Oops, something went wrong.