struct Halite::Options::Timeout

Overview

Timeout struct

Defined in:

halite/options/timeout.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(connect : Int32 | Float64 | Time::Span | Nil = nil, read : Int32 | Float64 | Time::Span | Nil = nil, write : Int32 | Float64 | Time::Span | Nil = nil) #

[View source]

Instance Method Detail

def connect : Float64 | Nil #

[View source]
def connect=(connect : Int32 | Float64 | Time::Span | Nil) #

[View source]
def read : Float64 | Nil #

[View source]
def read=(read : Int32 | Float64 | Time::Span | Nil) #

[View source]
def write : Float64 | Nil #

[View source]
def write=(write : Int32 | Float64 | Time::Span | Nil) #

[View source]