Streaming will require another client method to read from the body progressively. The caller will probably have to plumb in a callback, and we'll have to do something to handle cancellation. Provisionally: When ctx ends, force-close the body to unblock the reader. I'm not sure if that's racy, or if it will trigger a panic, so do some experiments.
See https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/api-reference/get-tweets-search-stream et seq.
Streaming will require another client method to read from the body progressively. The caller will probably have to plumb in a callback, and we'll have to do something to handle cancellation. Provisionally: When
ctx
ends, force-close the body to unblock the reader. I'm not sure if that's racy, or if it will trigger a panic, so do some experiments.