wifiKeepAliveGracePeriod

A wifi connection will be established when using a WIFI context, and will be teared down again after the last wifi context has been released.

In practice, the wifi connection will be held established for a bit longer (a grace period of 20 seconds by default), if just right after that, another wifi context would be used again.

This grace period is by default 20 seconds, but can be adjusted here to a custom value. 0 means that there should be no grace period at all.

Return

this to chain calls.

Parameters

seconds

The number of seconds to keep a wifi connection alive after the last wifi context has been released.