-
-
Notifications
You must be signed in to change notification settings - Fork 50
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 sse is not supported (unsupported connection endpoint) #90
Comments
Hello @icobani This is a bidirectional SDK for Centrifuge/Centrifugo. See the difference in Centrifugo documentation. WebSocket is the most effective transport for bidirectional communication in our ecosystem. Probably if you need SSE on the Go side you need to use unidirectional protocol of Centrifugo where we expect developers won't use any SDK provided by Centrifugal Labs and connect to SSE endpoint using existing SSE-compliant clients. |
Thank you @FZambia, If you don't mind, could you please share an example of sending a server side message to the SSE address via this package? |
I think you are missing some core ideas as your question simply does not make any sense in the context of this SDK. To use SSE and deliver real-time message:
I.e. this package won't be involved at all. I understand that documentation could contain more examples – I will try to provide some basic one in the future. This SDK is for bidirectional client communication with Centrifugo over WebSocket only. |
Thanks very much for your interest. |
i try to sse but get error message unsupported connection endpoint . Why we need this control.
github.com/centrifugal/centrifuge-go/client.go:114
The text was updated successfully, but these errors were encountered: