# http/set-timeout Set the request timeout for an HTTP client. ## Syntax
[http/set-timeout $client $timeout-ms]
## Parameters - `$client` — client handle from `http/client`, or `nil` to configure the shared default client - `$timeout-ms` — timeout in milliseconds (number) ## Examples
# Shared client (used by http/get, http/post, ...)
[http/set-timeout nil 5000]

# Dedicated client handle
set c [http/client]
[http/set-timeout $c 10000]
## Returns `nil`. ## See Also `http/client`, `http/get`