Skip to content
[OUTDATED] node.js WebSocket implementation on top of the stdlib HTTP server
JavaScript Perl
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
lib/http
patches
README.txt

README.txt

= Node http websocket server =

This is an implementation of the server-side of the WebSocket protocol,
based on the node http server.

One advantage over other implementations, is that you can still
server normal HTTP requests over the same port of the WebSocket server.

= About node patches =

The current node HTTP server implementation closes the connection
after a successful HTTP requests. The patch adds request.connection.hikack()
to change that behavior in case of WebSocket connections.

To apply the patches, go in the root of your nodejs code, and apply:
 `patch -P0 < ../path-to/node-http-websocket/patches/*.patch`


Cheers,
   zimbatm
Something went wrong with that request. Please try again.