Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Net::HTTPGenericRequest#flush_buffer
flush_buffer(out, buf, chunked_p)
lib/net/http/generic_request.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/net/http/generic_request.rb, line 368
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
No documentation available
See also
#encode_multipart_form_data
#inspect
#body_stream=
#quote_string
also in
3.3 · 3.2 · 3.1 · 3.0