packagist phrity/websocket 3.8.0
v3.8.0

latest releases: 4.0.0, 3.8.1
one month ago

Features and fixes

  • Configurable opcode/class mapping using OpcodeRegistry
  • New onMessage() listener, triggered on all messages
  • Connections container class
  • Dispach onDisconnect on remote connection close
  • Exceptions: ControlInterface on CloseException, ReconnectException
  • Exceptions: HandlerLevelInterface on BadUriException, ClientException, RunnerException, ServerException
  • Close status as int<0, 4999>|null
  • Preparations for v4

What's Changed

  • Fix disconnect not being dispatched on connection level error by @srebb in #156
  • ControlInterface, HandlerLevelInterface, Close status 0-4999 by @sirn-se in #157
  • Connections container/onDisconnect on remote disconnect by @sirn-se in #158
  • Opcode config by @sirn-se in #159

New Contributors

Full Changelog: 3.7.3...3.8.0

Don't miss a new websocket release

NewReleases is sending notifications on new releases.