Timeout

Various timeout values used throughout the program.

Members

Enums

Integers
enum Integers

Connection defaults, integers version.

Static variables

connectionDelayCap
auto connectionDelayCap;

The maximum amount of time to wait between connection attempts.

connectionLost
auto connectionLost;

How long to keep trying to read from the sever when not receiving anything at all before the connection is considered lost.

connectionRetry
auto connectionRetry;

The amount of seconds to wait before retrying after a failed connection attempt.

httpGET
auto httpGET;

Timeout for HTTP GET requests.

httpQueryInitialWait
auto httpQueryInitialWait;

How long to wait after issuing an HTTP request before checking whether a response has been received.

httpQueryWaitBetweenChecks
auto httpQueryWaitBetweenChecks;

How long to wait between checks for a response after the initial wait period.

maxShortenDuration
auto maxShortenDuration;

The amount of time to spend with a shortened receive timeout. After this, it reverts to Timeout.receive.

readErrorGracePeriod
auto readErrorGracePeriod;

How long to wait after encountering an error when reading from the server, before trying anew.

receive
auto receive;

The receive attempt timeout as set as a SocketOption.

send
auto send;

The send attempt timeout as set as a SocketOption.

twitchRegistrationFailConnectionRetry
auto twitchRegistrationFailConnectionRetry;

The amount of seconds to wait before retrying to connect after an instant failure to register on Twitch.

whoisDiscard
auto whoisDiscard;

How long a replayable event is expected to be relevant. Before this it will be replayed, after this it will be discarded.

whoisGracePeriod
auto whoisGracePeriod;

The length of the window in which replays may be queued before the timer towards Timeout.whoisRetry kicks in.

whoisRetry
auto whoisRetry;

How long to wait before allowing to re-issue a WHOIS query for a user.