Sha256: 8f9708267268bcbd7bcbe0bbb295c6b636b38bb69cdada9ad3916e69ed4e193b
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
module EventMachine module Protocols class ServerConnection < Connection def self.request(host, port, client_side) EventMachine.connect(host, port, self, client_side) end def initialize(conn) @client_side = conn end def post_init proxy_incoming_to @client_side end def unbind @client_side.close_connection_after_writing end end end end
Version data entries
5 entries across 5 versions & 2 rubygems