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

Listening an event-stream #2727

Closed
lbeier opened this issue Jul 28, 2017 · 3 comments
Closed

Listening an event-stream #2727

lbeier opened this issue Jul 28, 2017 · 3 comments
Labels

Comments

@lbeier
Copy link

lbeier commented Jul 28, 2017

Hi all,

I need to consume an API which will sent me some events through SSE. I've tried to use the EventStream library to do it, but since the API only responde via POST method, I was unable to use it.

Since then I've been trying to use request to do ti, but with no luck. I didn't understand how I can do a POST to the API and keep the connection open listening the events.

Is there any way to do it?

@stephenemslie
Copy link

Any update on this? @tutabeier did you ever find a good solution?

@lbeier
Copy link
Author

lbeier commented Feb 28, 2018

It's been a while, @stephenemslie, but if I remember correctly we just used the Node's HTTP module.

@stale
Copy link

stale bot commented Feb 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 28, 2019
@stale stale bot closed this as completed Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants