Exception: Net::HTTP::Pipeline::PersistenceError
- Defined in:
- lib/net/http/pipeline.rb
Overview
Raised when the server appears to not support persistent connections
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(requests, responses) ⇒ PersistenceError
constructor
Creates a new PersistenceError with a list of
requeststhat have not been sent to the server and a list ofresponsesthat have been retrieved from the server.
Constructor Details
#initialize(requests, responses) ⇒ PersistenceError
Creates a new PersistenceError with a list of requests that have not been sent to the server and a list of responses that have been retrieved from the server.
91 92 93 |
# File 'lib/net/http/pipeline.rb', line 91 def initialize requests, responses super 'persistent connections required', requests, responses end |