nanos world API Reference Unofficial documentation
Static function Shared Fast

HTTP.SetConnectionTimeout

Sets the HTTP requests global Connection Timeout in seconds

Syntax

Lua
HTTP.SetConnectionTimeout(connection_timeout)

Parameters

Name Type Default Description
connection_timeout integer — The timeout in seconds