README.rdoc in rev-websocket-0.1.0 vs README.rdoc in rev-websocket-0.1.1
- old
+ new
@@ -6,11 +6,11 @@
This library conforms to WebSocket draft-75 and draft-76.
- http://github.com/frsyuki/rev-websocket
-== Simple example
+== Installation
gem install rev-websocket
== Simple example
@@ -33,23 +33,24 @@
puts "WebSocket closed"
end
end
host = '0.0.0.0'
- port = '8081'
+ port = '8080'
server = Rev::WebSocketServer.new(host, port, MyConnection)
server.attach(Rev::Loop.default)
- Rev::Loop.run
+ Rev::Loop.default.run
== Learn more
- [Rev API reference] http://rev.rubyforge.org/rdoc/
- [JSON for object serialization] http://github.com/brianmario/yajl-ruby
- [MessagePack for object serialization] http://msgpack.org/
- [The WebSocket protocol draft-76] http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76
+- [EventMachine based WebSocket server] http://github.com/igrigorik/em-websocket
== License
Copyright (c) 2010 FURUHASHI Sadayuki