I'm trying to wrap Mastodon's streaming API in PB. The docs (https://docs.joinmastodon.org/methods/streaming/) say we can either use a web socket or a long-lived HTTP request. I'm using hTTP requests to query everything else from the API and also don't feel like wrapping web sockets, so figured an HTTP request is the best option. I can't quite get it, though. What's the best way to do this? Open an asynchronous HTTP connection and constantly call ReceiveHTTPmemory()? I'm pretty sure for keep-alive requests, I have to send a certain header, like Connection: keep-alive, but is that enough for this to work?
Thanks
