Exception: Net::HTTP::Pipeline::PipelineError

Inherits:
Error
  • Object
show all
Defined in:
lib/net/http/pipeline.rb

Overview

Raised when the server appears to not support pipelining connections

Instance Attribute Summary

Attributes inherited from Error

#requests, #responses

Instance Method Summary collapse

Constructor Details

#initialize(requests, responses) ⇒ PipelineError

Creates a new PipelineError 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.



105
106
107
# File 'lib/net/http/pipeline.rb', line 105

def initialize requests, responses
  super 'pipeline connections are not supported', requests, responses
end