* Set timeout for the request * * ```js * I.setRequestTimeout(10000); // In milliseconds * ``` * * @param {number} newTimeout - timeout in milliseconds
(newTimeout)
| 280 | * @param {number} newTimeout - timeout in milliseconds |
| 281 | */ |
| 282 | setRequestTimeout(newTimeout) { |
| 283 | this.options.timeout = newTimeout |
| 284 | } |
| 285 | |
| 286 | /** |
| 287 | * Send GET request to REST API |