Releases: clue/php-socket-react
Releases · clue/php-socket-react
v0.3.0
v0.2.2
v0.2.1
v0.2.0
- BC break: More SOLID design, reuse existing code, refactor code to fix
ambiguities and ease extending
(#1)- The event loop handling has been rewritten and now resides in the
Socket\React\EventLoopnamespace. Whole new API regardingSelectPoller
and dedicatedSocketSelectLoop. - Rename
Datagram\DatagramtoDatagram\Socket - Merge
Stream\StreamintoStream\Connection - Remove
bind(),connect()andsetOptionBroadcast()methods from
Datagram\Socketand add respective options to theDatagram\Factoryclass.
This is done in order to keep the API clean and to avoid confusion as to
when it's safe to invoke those methods. - Require clue/datagram and implement its
Datagram\SocketInterface
forSocket\React\Datagram\Socket. This means that you can now pass an
instance of this class where other libaries expect a datagram socket.
- The event loop handling has been rewritten and now resides in the
- Fix: Typo in
Socket\React\Stream\Serverthat passed null
(#4 thanks @cboden!) - Fix: End connection if reading from stream socket fails
(#7) - Fix: Compatibility with hhvm
(#8)