class RJack::HTTPClient4::ClientParamBean

ClientParamBean reopen

Public Instance Methods

default_headers=( value ) click to toggle source

Convert to [ BasicHeader.new( k,v ) ] if value is hash.

# File lib/rjack-httpclient-4.rb, line 166
def default_headers=( value )
  if value.is_a?( Hash )
    value = value.map { |nv| BasicHeader.new( *nv ) }
  end
  setDefaultHeaders( value )
end