Class: WEBrick::HTTPRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/webrick/httprequest_patch.rb

Instance Attribute Summary collapse

Instance Attribute Details

#request_line=(value) ⇒ Object (writeonly)

Sets the attribute request_line

Parameters:

  • value

    the value to set the attribute request_line to.



5
6
7
# File 'lib/webrick/httprequest_patch.rb', line 5

def request_line=(value)
  @request_line = value
end

#socketObject (readonly)

Returns the value of attribute socket.



4
5
6
# File 'lib/webrick/httprequest_patch.rb', line 4

def socket
  @socket
end