Class Typhoeus::Response::Header
In: lib/typhoeus/response/header.rb
Parent: DelegateClass(Hash)

This class represents the response header. It can be accessed like a hash. Values can be strings (normal case) or arrays of strings (for duplicates headers)

@api private

Methods

[]   new   parse  

Public Class methods

Create a new header.

@example Create new header.

  Header.new(raw)

@param [ String ] raw The raw header.

Public Instance methods

Parses the raw header.

@example Parse header.

  header.parse

[Validate]