Method: FTW::Protocol#write_all
- Defined in:
- lib/ftw/protocol.rb
#write_all(io, string) ⇒ Object
def write_http_body_normal
109 110 111 112 113 114 |
# File 'lib/ftw/protocol.rb', line 109 def write_all(io, string) while string.bytesize > 0 w = io.write(string) string = string.byteslice(w..-1) end end |