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 facing a problem trying to initialize the EventSource.
componentDidMount() { this.source = new EventSource("url_to_my_channel"); this.source.onopen = () => console.log("EventSource::Connection open"); this.source.onmessage = (message) => console.log("EventSource::onMessage", message); this.source.onerror = (error) => console.log("EventSource::error", error); this.source.addEventListener("custom_event", (event) => console.log("EventSource::custom_event", event)) }
I am using this implementation of Push Stream.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am facing a problem trying to initialize the EventSource.
I am using this implementation of Push Stream.
The text was updated successfully, but these errors were encountered: