Skip to main content

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?