Class: Browser::HTTP::Header

Inherits:
Struct
  • Object
show all
Defined in:
opal/browser/http/headers.rb

Overview

Represents a single HTTP header.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'opal/browser/http/headers.rb', line 4

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



4
5
6
# File 'opal/browser/http/headers.rb', line 4

def value
  @value
end