HttpRequest.setTimeout

Sets the timeout from inactivity on the request. This is the amount of time that passes with no send or receive activity on the request before it fails with "request timed out" error.

class HttpRequest
void
setTimeout
(
Duration timeout
)

Meta

History

Added March 31, 2021