module HTTPX::Plugins::StreamBidi::RequestBodyMethods

  1. lib/httpx/plugins/stream_bidi.rb

Methods

Public Class

  1. new

Public Instance

  1. empty?

Public Class methods

new(*, **)
[show source]
    # File lib/httpx/plugins/stream_bidi.rb
350 def initialize(*, **)
351   super
352   @headers.delete("content-length") if @options.stream
353 end

Public Instance methods

empty?()
[show source]
    # File lib/httpx/plugins/stream_bidi.rb
355 def empty?
356   return super unless @options.stream
357 
358   false
359 end