Home > Blockchain >  ionic 6 websocket client cordova plugin
ionic 6 websocket client cordova plugin

Time:09-24

I'm using ionic 6 (with Angular). Is there a websocket client plugin? I want to communicate with a websocket server written in c# but I can't find any plugins to use ionic as websocket client.

CodePudding user response:

You don't need a dedicated ionic plugin if you just want to subscribe to a websocket. Existing angular websocket libraries should work.

I personally prefer using socket-io, which works perfectly fine: enter image description here

  • Related