I am trying to use a streaming HTTP connection that never closes (this is a Gnip Compliance stream).
I want to work with the HTTP Kit , but I cannot get it to work. If I pass an argument :stream:
@(http/get "http://example.com/stream-connection" {:as :stream})
The response is not returned until the request is closed (and it will never be completed).
Is there any way to do this?
I tried the same with clj-http , no luck.
source
share