Sha256: 344bff6cfc1c12a2d15ed51cf7d58ad357890bb5ac91acaa5c090e50159d3a7a

Contents?: true

Size: 283 Bytes

Versions: 12

Compression:

Stored size: 283 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'eventmachine'
require 'websocket/driver'

require File.expand_path('../../spec/proxy_server', __FILE__)

port   = ARGV[0]
secure = ARGV[1] == 'tls'

EM.run {
  proxy = ProxyServer.new(:debug => true)
  proxy.listen(port, secure)
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
faye-websocket-0.10.7 examples/proxy_server.rb
faye-websocket-0.10.6 examples/proxy_server.rb
faye-websocket-0.10.5 examples/proxy_server.rb
faye-websocket-0.10.4 examples/proxy_server.rb
faye-websocket-0.10.3 examples/proxy_server.rb
faye-websocket-0.10.2 examples/proxy_server.rb
faye-websocket-0.10.1 examples/proxy_server.rb
faye-websocket-0.10.0 examples/proxy_server.rb
faye-websocket-0.9.2 examples/proxy_server.rb
faye-websocket-0.9.1 examples/proxy_server.rb
faye-websocket-0.9.0 examples/proxy_server.rb
faye-websocket-0.8.0 examples/proxy_server.rb