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

Cancelling forever-lived HTTP request #116

Open
EduardoRFS opened this issue Feb 22, 2022 · 1 comment
Open

Cancelling forever-lived HTTP request #116

EduardoRFS opened this issue Feb 22, 2022 · 1 comment

Comments

@EduardoRFS
Copy link
Contributor

Currently Piaf doesn't expose a way to stop an HTTP request that lives forever after Body.to_string_stream is called.

Example

https://mainnet.api.tez.ie/monitor/valid_blocks

@anmonteiro
Copy link
Owner

What happens if you call Piaf.Client.shutdown?

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

No branches or pull requests

2 participants