mkuklis / phonegap-websocket

Websocket PhoneGap plugin for Android
203 stars 78 forks source link

sse support #59

Open kirantpatil opened 5 years ago

kirantpatil commented 5 years ago

Hi,

Does it support SSE (Server Sent Event) ?

If not then which plugin to be used for SSE, since I could not find plugin specific to SSE ?

Thanks.

mkuklis commented 5 years ago

Hi @kirantpatil no there is no support fo SSE. This just deals with web sockets. You may not need any plugin for SSE since it's supported by chrome already. Perhaps if you are targeting older devices this polyfill could help:

https://github.com/Yaffle/EventSource

kirantpatil commented 5 years ago

Hi,

I will try it.

Thanks for clearing the doubt.

Regards, Kiran.

On Mon, Oct 29, 2018 at 6:24 PM Michał Kuklis notifications@github.com wrote:

Hi @kirantpatil https://github.com/kirantpatil no there is no support fo SSE. This just deals with web sockets. You may not need any plugin for SSE since it's supported by chrome already. Perhaps if you are targeting older devices this polyfill could help:

https://github.com/Yaffle/EventSource

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mkuklis/phonegap-websocket/issues/59#issuecomment-433899114, or mute the thread https://github.com/notifications/unsubscribe-auth/ABH5x9DS9zgiwoOHwFJPNP4aKhC1kNefks5upvqegaJpZM4X--5_ .