We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to implement a proxy with http-kit but it seems the client is not very async, only the connection?
I'm doing something like this:
(http-client/get url {:as :stream} (fn [{:keys [status headers body error]}] #_(pp/pprint {:request url :response [status headers body error]}) (a/>!! ch [status headers body error])))
but the body is returned as an inputstream but an input stream that has been fully read.
What I want is to read it as I go, sending the necessary chunks.
Is there a way to do that?
This is [http-kit "2.1.19"] and Leiningen 2.6.1 on Java 1.8.0_25
The text was updated successfully, but these errors were encountered:
Closing as part of issue triage due to inactivity. Please feel free to re-open if this issue is still relevant.
Sorry, something went wrong.
No branches or pull requests
I am trying to implement a proxy with http-kit but it seems the client is not very async, only the connection?
I'm doing something like this:
but the body is returned as an inputstream but an input stream that has been fully read.
What I want is to read it as I go, sending the necessary chunks.
Is there a way to do that?
This is [http-kit "2.1.19"] and Leiningen 2.6.1 on Java 1.8.0_25
The text was updated successfully, but these errors were encountered: