Skip to content

Conversation

@mbonneau
Copy link
Contributor

Https does not work without this:

Catchable fatal error: Argument 1 passed to React\HttpClient\Response::__construct() must be an instance of React\Stream\Stream, instance of React\SocketClient\SecureStream given, called in /Users/matt/PhpstormProjects/httpsClient/vendor/react/http-client/src/Request.php on line 239 and defined in /Users/matt/PhpstormProjects/httpsClient/vendor/react/http-client/src/Response.php on line 28

@cboden cboden added this to the v0.4.1 milestone Nov 11, 2014
cboden added a commit that referenced this pull request Nov 11, 2014
Changed Stream to DuplexStreamInterface in Response::__construct
@cboden cboden merged commit e465253 into reactphp:master Nov 11, 2014
@cboden
Copy link
Member

cboden commented Nov 11, 2014

whoops! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants