Class: RIO::HTTP::RRL

Inherits:
RRL::URIBase show all
Defined in:
lib/rio/scheme/http.rb

Instance Attribute Summary

Attributes inherited from RRL::Base

#fs, #uri

Instance Method Summary collapse

Methods inherited from RRL::URIBase

#initialize, #initialize_copy, #openfs_, parse

Methods inherited from RRL::WithPath

#absolute?, #base, #base=, #fspath_no_slash, #host, #host=, #opaque, #openfs_, #path, #path=, #path_no_slash, #pathdepth, #pathroot, #scheme, #split

Methods included from Fwd

#fwd, #fwd_reader, #fwd_readers, #fwd_writer, #fwd_writers

Methods included from Error::NotImplemented

#nodef

Methods inherited from RRL::Base

#==, #===, #=~, #callstr, #close, #initialize, #initialize_copy, #length, #openfs_, parse, #to_s, #url

Constructor Details

This class inherits a constructor from RIO::RRL::URIBase

Instance Method Details

#open(*args) ⇒ Object



34
35
36
37
# File 'lib/rio/scheme/http.rb', line 34

def open(*args)
  u = ::URI.parse(self.to_s)
  IOH::Stream.new(u.open)
end