Skip to content

ConnectionTimeout

[Source]

A validated connection timeout duration in milliseconds. The allowed range is 1 to 18,446,744,073,709 milliseconds (~213,503 days). The upper bound ensures the value can be safely converted to nanoseconds without overflowing U64.

Construct with MakeConnectionTimeout(milliseconds), which returns (ConnectionTimeout | ValidationFailure). Pass to the client or ssl_client constructor's connection_timeout parameter, or pass None to disable it (the default).

type ConnectionTimeout is
  Constrained[U64 val, ConnectionTimeoutValidator val] val

Type Alias For