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
Each connector currently resolves with a Stream instance from the react/stream component. We should look into resolving with a Connection instance (which likely extends the Stream class) which should expose the remote address like this:
I've started working on this a few months ago, finished the tests and code but didn't get to properly document this and the potential BC break. The other PRs were also certainly more pressuring back then, but this is now higher on my todo list again.
Each connector currently resolves with a
Stream
instance from the react/stream component. We should look into resolving with aConnection
instance (which likely extends theStream
class) which should expose the remote address like this:Note that the react/socket component already has a similar class (https://github.com/reactphp/socket/blob/master/src/Connection.php) which represents the server-side end of a connection.
The text was updated successfully, but these errors were encountered: