Sha256: c505ea01218cb36b2236831c2d5f2b2db2fd9de3b7759cf1f44adacc5587eaed
Contents?: true
Size: 483 Bytes
Versions: 26
Compression:
Stored size: 483 Bytes
Contents
# -*- encoding: binary -*- # :enddoc: module Rainbows::EventMachine::ResponseChunkPipe include Rainbows::EventMachine::ResponsePipe def unbind @client.write("0\r\n\r\n") super end def notify_readable case data = Kgio.tryread(@io, 16384, RBUF) when String @client.write("#{data.size.to_s(16)}\r\n") @client.write(data) @client.write("\r\n") when :wait_readable return when nil return detach end while true end end
Version data entries
26 entries across 26 versions & 1 rubygems