Sha256: 09aa1b76994a4186d9087a1ec5552fd94375f70c289f7318d5f777c036efded5
Contents?: true
Size: 256 Bytes
Versions: 3
Compression:
Stored size: 256 Bytes
Contents
#!/usr/bin/env ruby fork { load 'echo.rb' exit 0 } require 'webrick' server = WEBrick::HTTPServer.new({ :Port => 8080, :BindAddress => '127.0.0.1', :DocumentRoot => File.dirname(__FILE__)+'/public'}) trap('INT') { server.shutdown } server.start
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
cool.io-websocket-0.1.4 | examples/echo |
rev-websocket-0.1.3 | examples/echo |
rev-websocket-0.1.2 | examples/echo |