Method: Gem::Net::HTTP::Persistent#keep_alive
- Defined in:
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
#keep_alive ⇒ Object
The value sent in the Keep-Alive header. Defaults to 30. Not needed for HTTP/1.1 servers.
This may not work correctly for HTTP/1.0 servers
This method may be removed in a future version as RFC 2616 does not require this header.
331 332 333 |
# File 'lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb', line 331 def keep_alive @keep_alive end |