Skip to content

Releases: amphp/websocket

1.0.2

27 Nov 16:25
d0e61e3
Compare
Choose a tag to compare
  • Fixed frames per second option (was setting wrong value prior)
  • Reduced string duplication when splitting frames
  • Improved performance of incoming messages read in a single chunk

1.0.1

13 Nov 05:57
6752ecf
Compare
Choose a tag to compare
  • Fixed calculation of ping interval (#6)

1.0.0

25 Jun 21:22
ac4e9c5
Compare
Choose a tag to compare

Initial release. 🎉

Changes from RC2

  • Message constructor is now private, replaced with static constructors fromText() and fromBinary().
  • Client::send() and Client::stream() promises now resolve with void instead of an int (the integer returned was sometimes 0, so it wasn't particularly useful).
  • Renamed Client::didPeerInitiateClose() to Client::isClosedByPeer().

1.0.0 RC2

18 Apr 14:47
5fbeb1e
Compare
Choose a tag to compare
1.0.0 RC2 Pre-release
Pre-release
  • Fixed marking that peer initiated close when remote socket closes.
  • Close promise is now resolved with the close code and reason in a two-element array.
  • Promise returned from Rfc6455Client::receive() is now failed if the connection closes with a non-normal close code instead of resolving with null (which remains the case on normal closure). (#5)
  • Added Code::getName(int $code) that returns the constant name for the given code or null if it is not defined.
  • Timestamps in ClientMetadata are now set using Amp\getCurrentTime() instead of time().

1.0.0 RC1

21 Aug 15:44
52b85af
Compare
Choose a tag to compare
1.0.0 RC1 Pre-release
Pre-release

First release candidate.

Note: v0.1.x and v0.2.x tags in this repository are for our WebSocket client, which has been moved to amphp/websocket-client. v1.0 will be the initial release of this library.