Pupix / rift-explorer

🛠 Explore the API of the League of Legends client
MIT License
558 stars 73 forks source link

How to use client WebSocket #13

Closed stirante closed 6 years ago

stirante commented 6 years ago

I found, that client uses WebSocket to publish some events which list is in /Help endpoint. Also I think it uses wamp-proto.org as I found some references to that in code (plugin-runner/loader.js).

Does anyone knows how to use those events?

Pupix commented 6 years ago

Hello!

Yes, the client uses WAMP 1.0, unfortunately this doesn't have it integrated as the core of the swagger UI (which this is based on) doesn't support WebSockets AFAIK. I've posted in the past a node.js implementation of mine of the WAMP protocol for the LCU.

Cheers