Sha256: f7df63ad08177e19929dab5415e246981e0b111939d4e941e7f307284836a064
Contents?: true
Size: 205 Bytes
Versions: 5
Compression:
Stored size: 205 Bytes
Contents
require 'webrick' require 'webrick/httpproxy' proxy = WEBrick::HTTPProxyServer.new Port: (ARGV[0].nil? ? 32768 : ARGV[0]) trap 'INT' do proxy.shutdown end trap 'TERM' do proxy.shutdown end proxy.start
Version data entries
5 entries across 5 versions & 1 rubygems