WIP: MastoAPI (websocket): Handle new streaming API.
Related to this commit on glitch-soc: https://github.com/glitch-soc/mastodon/commit/8ae52dc79235bc9ed6878bed857539d14e0b57da
TO-DO
-
Add stream
field to message sent through the WS (part of the new API) -
Use jason
instead ofpoison
as JSON serializer -
Log error on message handling on :error
level -
Fix tests -
Add some (i'm bad at this tho ;;)