Method: Browser::HTTP::Binary#type

Defined in:
opal/browser/http/binary.rb

#type:string, :buffer (readonly)

Returns the type of binary.

Returns:

  • (:string, :buffer)

    the type of binary



8
9
10
# File 'opal/browser/http/binary.rb', line 8

def type
  @type
end