Skip to main content

client:set_timeout

Last updated March 2020

Name

client:set_timeout — Set the timeout for an HTTP client

Synopsis

require('msys.http.client')

client:set_timeout(number);

number: integer (optional)

Description

Set the timeout for an HTTP client. Setting the parameter to an integer value determines the length of the timeout. Passing no parameter clears the timeout setting.

See Also

Was this page helpful?