You are here

private function StreamHandler::add_timeout in Auth0 Single Sign On 8.2

File

vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php, line 427

Class

StreamHandler
HTTP handler that uses PHP's HTTP stream wrapper.

Namespace

GuzzleHttp\Handler

Code

private function add_timeout(RequestInterface $request, &$options, $value, &$params) {
  if ($value > 0) {
    $options['http']['timeout'] = $value;
  }
}