TwistPHP Documentation

setTimeout

File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

setTimeoutSet the max timeout for the requests to be made

Parameters

Name Type Description
[$intTimeout = 5]integern/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$intTimeout 5;

//Call the function setTimeout with the example vars
Twist::Curl() -> setTimeout($intTimeout);