Exception: Net::HTTP::Pipeline::PersistenceError

Inherits:
Error
  • Object
show all
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

#requests, #responses

Instance Method Summary collapse

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