method

flush_buffer

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Net::HTTPGenericRequest
flush_buffer(out, buf, chunked_p) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/http.rb, line 2041
    def flush_buffer(out, buf, chunked_p)
      return unless buf
      out << "%x\r\n"%buf.bytesize if chunked_p
      out << buf
      out << "\r\n" if chunked_p
      buf.clear
    end
Register or log in to add new notes.