Method: Chase::Response#flush

Defined in:
lib/chase/response.rb

#flushObject



67
68
69
70
71
72
73
74
75
# File 'lib/chase/response.rb', line 67

def flush
  return if flushed?

  write_headers
  write("\r\n")
  write(content)

  emit(:flushed)
end