Sha256: 3426debeba411f809e2cd5c1a9c515a83462d68f19ab9371adb23295b05570bf

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
faye-websocket-0.10.9 examples/proxy_server.rb
faye-websocket-0.10.8 examples/proxy_server.rb