I'm trying to consume an HTTP streaming connection that never closes (it's the Gnip Compliance stream).
I want to work with HTTP Kit, but I can't get it to work. If I pass the :stream
argument:
@(http/get "http://example.com/stream-connection" {:as :stream})
The response doesn't return until the request is closed (and it will never be completed).
Is there a way to do this?
I've tried the same thing with clj-http, no luck.