discord-rs icon indicating copy to clipboard operation
discord-rs copied to clipboard

Use ETF rather than JSON

Open SpaceManiac opened this issue 8 years ago • 2 comments

Discord devs recommend use of the Erlang external term format for websocket (and REST?) communications. There's already a crate for ETF manipulation. The main changes would be adding &format=etf when connecting to the gateway and using ETF when decoding events and encoding actions.

SpaceManiac avatar Apr 23 '16 23:04 SpaceManiac

I'm working on this using the alternate crate. I've talked with zeyla and he is ok with me doing it.

AnonymousDapper avatar Aug 04 '16 22:08 AnonymousDapper