class Faraday::Utils::Headers

def []=(key, val)

Experimental RBS support (using type sampling data from the type_fusion project).

def []=: (String key, String val) -> untyped

This signature was generated using 1 sample from 1 application.

def []=(key, val)
  key = KeyMap[key]
  key = (@names[key.downcase] ||= key)
  # join multiple values with a comma
  val = val.to_ary.join(', ') if val.respond_to?(:to_ary)
  super(key, val)
end