0

I have working code with cordova but want to transform it to ionic3 but unable to find any reference. I don't want to use Fire-base i have my own socket server. I know i could have added some of my code to it but i am only able to find of ionic 2#

Amit Kumar Pawar
  • 3,252
  • 1
  • 20
  • 27

1 Answers1

0

You can use some Angularjs websocket wrapper, like this.

import {$WebSocket} from 'angular2-websocket/angular2-websocket'
const ws = new $WebSocket("url");
ws.send(event);
Christian Benseler
  • 7,907
  • 8
  • 40
  • 71