Skip to content

WebSocket rewrite + improvements

Choose a tag to compare

@junlarsen junlarsen released this 18 Jan 18:20
· 73 commits to master since this release

Rewrites and improves the entire WebSocket connection.

Breaking Changes

  • connect() renamed to auth()
  • getWebSocket renamed to connect()
  • sendRequest renamed to request

New Features

  • Subscription to events via custom WebSocket
  • LeagueWebSocket.subscribe
  • LeagueWebSocket.unsubscribe