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

Why only support the GET method? #16

Closed
Anivie opened this issue Feb 4, 2024 · 1 comment
Closed

Why only support the GET method? #16

Anivie opened this issue Feb 4, 2024 · 1 comment

Comments

@Anivie
Copy link

Anivie commented Feb 4, 2024

Is possible to add a post support?

@jeremychone
Copy link

I think the get is for convenience, but we can build our own reqwest::RequestBuilder and get a EventSource from it.

let es = EventSource::new(reqwest_builder)?;

@Anivie Anivie closed this as completed Jun 5, 2024
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