SET_TIMEOUT

Set the amount of time an HTTP request can take to complete.

UHTTP.SET_TIMEOUT(Timeout)

Parameters

Parameter

Type

Direction

Description

Timeout

numeric

IN

Maximum time allowed for the request in milliseconds. By default it is set to -1 (no timeout).

Return Values

Values Returned in $status

Value

Meaning

0

Success

-12

Internal error occurred

-13

Timeout value is not valid

Use

Can be use before the SEND operation.

Description

The SET_TIMEOUT operation sets the amount of time a HTTP request can take to complete.