lib/reel/connection.rb
# Write body chunks directly to the connection
Write body chunks directly to the connection
Write body chunks directly to the connection
def write(chunk)
      raise StateError, "not in chunked body mode" unless @response_state == :chunked_body
      chunk_header = chunk.bytesize.to_s(16)
      @socket << chunk_header + Response::CRLF
      @socket << chunk + Response::CRLF
    end
def write ( chunk ) raise StateError , "not in chunked body mode" unless @response_state == :chunked_body chunk_header = chunk . bytesize . to_s ( 16 ) @socket << chunk_header + Response :: CRLF @socket << chunk + Response :: CRLF end
Write body chunks directly to the connection
Write body chunks directly to the connection
chunk
<not_specific>