Proxy websocket in ionic2


#1

We are using angular2-websocket instead of ionic2 and every thing is working fine. Our question is, is it possible to proxy a Websocket call like an Http call? In the ionic.config.json we can do something like this.

"proxies": [{
     "path": "/api",
     "proxyUrl": "http://192.168.101.160/orma/api"
 }]

but if we do a Websocket call like

this.ws = new $WebSocket("ws://hostname:port/websocket/path");

We see no possibilty to proxy this using some proxy tools?

some ideas?


WebSocket in Ionic
#2

No Ideas for that???

Is there no possibility to proxy a websocket?