Phone API Reference - Classes - NetRequest - setTimeout

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

setTimeout

Description

Sets a timeout, after which the request will be aborted with a 500 status. 

Basic Example: 

request.setTimeout(milliseconds).

 

Parameters

Name

Required

Type

Default

Description

Name

Required

Type

Default

Description

milliseconds

Yes

integer

 

Integer representing time greater than zero in milliseconds.

 

Return to Documentation Home I Return to Sangoma Support