Class
WriteTimeout
, a subclass of Timeout::Error
, is raised if a chunk of the response cannot be written within the write_timeout. Not raised on Windows.
Attributes
Read
No documentation available
Class Methods
lib/net/protocol.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/net/protocol.rb, line 98
def initialize(io = nil)
@io = io
end
No documentation available
Instance Methods
#
lib/net/protocol.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/net/protocol.rb, line 103
def message
msg = super
if @io
msg = "#{msg} with #{@io.inspect}"
end
msg
end
No documentation available