module IO::Evented

Defined in:

wrench/io/evented.cr

Instance Method Summary

Instance Method Detail

def client_read_timeout : Time::Span | Nil #

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


[View source]
def client_read_timeout=(timeout : Time::Span | Nil) : Time::Span | Nil #

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


[View source]
def client_read_timeout=(read_timeout : Number) : Time::Span | Nil #

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


[View source]
def client_write_timeout : Time::Span | Nil #

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


[View source]
def client_write_timeout=(timeout : Time::Span | Nil) : Time::Span | Nil #

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


[View source]
def client_write_timeout=(write_timeout : Number) : Time::Span | Nil #

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


[View source]