module

IO::Evented

Instance methods

client_read_timeout

Returns the time to wait when reading before raising an IO::Timeout.

Source
client_read_timeout=(timeout : Time::Span | Nil) : Time::Span | Nil

Sets the time to wait when reading before raising an IO::Timeout.

Source
client_read_timeout=(read_timeout : Number) : Time::Span | Nil

Sets the number of seconds to wait when reading before raising an IO::Timeout.

Source
client_write_timeout

Returns the time to wait when writing before raising an IO::Timeout.

Source
client_write_timeout=(timeout : Time::Span | Nil) : Time::Span | Nil

Sets the time to wait when writing before raising an IO::Timeout.

Source
client_write_timeout=(write_timeout : Number) : Time::Span | Nil

Sets the number of seconds to wait when writing before raising an IO::Timeout.

Source