Mastodon effectively has two streaming APIs, the server-sent events endpoints at /api/v1/streaming/THING, and the websocket stream at wss://INSTANCE/api/v1/streaming. Mastodon.py only uses the SSE endpoints. However GoToSocial only implements the websocket stream, not SSE, so it's impossible to stream events with mastopy on a GTS server.
Also apparently the websocket stream can multiplex many event streams and that might be useful, idk, that's not what I'm personally interested in.
I fully get if this is out of scope, given that it involves probably pulling a new dependency to add support for a whole other protocol to improve not mastodon support in a project called mastodon.py.
Mastodon effectively has two streaming APIs, the server-sent events endpoints at
/api/v1/streaming/THING, and the websocket stream atwss://INSTANCE/api/v1/streaming. Mastodon.py only uses the SSE endpoints. However GoToSocial only implements the websocket stream, not SSE, so it's impossible to stream events with mastopy on a GTS server.Also apparently the websocket stream can multiplex many event streams and that might be useful, idk, that's not what I'm personally interested in.
I fully get if this is out of scope, given that it involves probably pulling a new dependency to add support for a whole other protocol to improve not mastodon support in a project called mastodon.py.