Name
easy:SetOpt_Upkeep_Interval_MS -- connection upkeep interval (V2.0)
Synopsis
easy:SetOpt_Upkeep_Interval_MS(upkeep_interval_ms)
Function
Some protocols have "connection upkeep" mechanisms. These mechanisms usually send some traffic on existing connections in order to keep them alive; this can prevent connections from being closed due to overzealous firewalls, for example.

The user needs to explicitly call easy:Upkeep() in order to perform the upkeep work.

Currently the only protocol with a connection upkeep mechanism is HTTP/2: when the connection upkeep interval is exceeded and easy:Upkeep() is called, an HTTP/2 PING frame is sent on the connection.

Inputs
upkeep_interval_ms
input value

Show TOC