Class: Net::HTTPGenericRequest
- Inherits:
-
Object
- Object
- Net::HTTPGenericRequest
- Defined in:
- lib/net/http/spdy/generic_request.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#exec(sock, ver, path) ⇒ Object
:nodoc: internal use only.
- #exec_wo_spdy ⇒ Object
Instance Attribute Details
#uri ⇒ Object
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_spdy ⇒ Object
4 |
# File 'lib/net/http/spdy/generic_request.rb', line 4 alias exec_wo_spdy exec |