tinify-php
tinify-php copied to clipboard
Options to CURL Timeout
Options to set the maximun time to wait for the Connection and for get the Response.
Thanks! We always aim for feature parity across the client libraries (for all languages). If we implement this we also wish to think about how it applies to the other libraries. Would it make sense to you if you could set the timeout and connection timeout with an option?
For example something like:
\Tinify\setRequestTimeout(1234);
\Tinify\setConnectionTimeout(1234);