nategood / httpful

A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.
MIT License
1.74k stars 298 forks source link

Timeouts #288

Open asacarter opened 4 years ago

asacarter commented 4 years ago

Hi

I'm using httpful to send requests to an API but I'm frequently getting connection timeouts.

Is there anyway to increase the length of time before a timeout occurs?

Thanks :)

BadPixxel commented 3 years ago

Hi,

Just set it here: https://github.com/nategood/httpful/blob/0cded3ea97ba905600de9ceb9ef13f3ab681587c/src/Httpful/Request.php#L183

BR