Skip to content
New issue

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

http.request: possibility to defer body receiving if sink is not specified #438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnd0e
Copy link

@johnd0e johnd0e commented Sep 11, 2024

In this case, the first returned value is not 1, but a function, taking two optional arguments: sink and step.
If the function is run without a sink, it simply closes the handle, ignoring the body.

Close #436

…ified

In this case, the first returned value is not `1`, but a function,
taking two optional arguments: `sink` and `step`.
If the function is run without a `sink`, it simply closes the handle,
ignoring the body.
@johnd0e
Copy link
Author

johnd0e commented Sep 18, 2024

@alerque Please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

http.request api should be improved
1 participant