Sha256: e14b1c9ddaf11c0a97bdfdc1543201ccdd15d6d59fb55cd9d95f55968c1a26a9
Contents?: true
Size: 375 Bytes
Versions: 27
Compression:
Stored size: 375 Bytes
Contents
# -*- encoding: binary -*- # :enddoc: # # this is class is specific to Coolio for proxying IO-derived objects class Rainbows::Coolio::ResponseChunkPipe < Rainbows::Coolio::ResponsePipe def on_read(data) @client.write("#{data.size.to_s(16)}\r\n") @client.write(data) @client.write("\r\n") end def on_close @client.write("0\r\n\r\n") super end end
Version data entries
27 entries across 27 versions & 1 rubygems