You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1
Without this we currently have issues as we need to set proxies, and there is no way to inject a curl_setopt($ch, CURLOPT_PROXY, $proxy); as it currently stands
Hi all, as this is a bigger update, I can start to explore it, but can't put in this upcoming release. I'll look at our other clients that have HTTP broken out. Will reference the ticket + CC you both in the PR when we get there. @rossmotley will also look at the sketch in your fork.
I think it would be a good thing to extract the following two methods into a new
$transport
object, which implements some sort of interface:\Sailthru_Client::httpRequestCurl
\Sailthru_Client::httpRequestWithoutCurl
This will make it easier to:
We could provide two implementations in this codebase, curl and streams, which don't have any other dependencies.
The interface could potentially make use of the PSR7:
http://www.php-fig.org/psr/psr-7/
The text was updated successfully, but these errors were encountered: