Class: Net::HTTPGenericRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/net/http/spdy/generic_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#uriObject

Returns the value of attribute uri.



2
3
4
# File 'lib/net/http/spdy/generic_request.rb', line 2

def uri
  @uri
end

Instance Method Details

#exec(sock, ver, path) ⇒ Object

:nodoc: internal use only



5
6
7
8
9
10
# File 'lib/net/http/spdy/generic_request.rb', line 5

def exec(sock, ver, path)   #:nodoc: internal use only
  exec_wo_spdy(sock, ver, path)
  if is_spdy?(sock) && (@body || @body_stream || @body_data)
    sock.close_write
  end
end

#exec_wo_spdyObject



4
# File 'lib/net/http/spdy/generic_request.rb', line 4

alias exec_wo_spdy exec