I am trying to access data using upstox wesocket and client in ionic angular. Can you please share code example?
import { io } from “socket.io-client”;
this.webSocket = io(sockeURL, {
addTrailingSlash: false,
extraHeaders: {
authorization: bearer ${upstoken}
,
followRedirects: ‘true’,
“Api-Version”: ‘v2’,
},
});
@tech_binomial This discussion could be helpful for you.