#websockts
Explore tagged Tumblr posts
cryptodailysun · 3 years ago
Text
Dear KuCoin Users,To improve service quality, KuCoin will modify the Spot/Futures API at 6:00:00, 04/28/2022 (UTC).The following modifications will be made to the Spot API:1. REST API: GET /api/v3/market/orderbook/level32. Websockt TOPIC: /spotMarket/level3:symbolThe following modifications will be made to the Futures API:1. REST API: GET /api/v1/level3/snapshot2. REST API: GET /api/v1/level3/message/query3. REST API: GET /api/v2/level3/snapshot4. Websockt TOPIC: /contractMarket/level3:symbol5. Websockt TOPIC: /contractMarket/level3v2:symbolFor more details, refer to the KuCoin API Documentation: https://docs.kucoin.com/ Please switch your API to Level2 to avoid affecting your trades.For any questions and suggestions, please reach us via:KuCoin API Support Telegram: https://t.me/KuCoin_APIEmail: [email protected] Service: https://support.kucoin.plusWe are sorry for any inconvenience caused.Thank you for your understanding and support!KuCoin Team
0 notes
anigeek · 12 years ago
Text
Websockets, Node.js, Socket.io and sockjs
The past few days, I've been working on getting a server set up for CardFarm. This was pretty irritating - had to go through the modem, forward ports, install IIS, run a node.js server (made sense since I'm using all Javascript for this), and then I spent a few days getting socket.io set up.
Socket.io is great - the syntax is easy to understand and it's quick to get implemented in your node.js with a quick "npm install socket" (I think that was it). Unfortunately, not a single thing I could do would allow CORS (Cross-Origin Resource Sharing). CORS basically makes it so that Javascript can access pages on other domains. Because of my weird setup, I'm hosting the game itself on GoDaddy and the server on my local machine. I'm planning on moving to Azure, but that's for another day.
So basically, if you are hosting your server separately from your files, then socket.io is not your best bet. Instead, I've been forced to go with sockjs (which has less documentation than Gilgamesh). The syntax is a bit more awkward for sockjs, in my opinion. It mimicks websockets exactly, so if you're used to that, it's probably pretty neat, but for some reason it's been really stubborn with the transferrance of objects and whatnot.
Sorry this post hasn't been very informative, just kinda wanted to record my discoveries here. My mind's a little too fried to get into too much detail with all this. Servers are hardly my forte.
1 note · View note