Quake MMO
Quake MMO
Using Ratchet with SSL directly doesn't seem stable enough. I recommend you put an Apache (or something) reverse proxy in front of it for SSL, which works reasonably well. Then...
Thank you for your reply. Would it be correct to use the 'conclude' event to set a timer and if, say, 10 seconds later the connection is still not closed,...
@carlosmiei Right now I have something like this: ``` async function watchBidsAsks(cex, tickers) { while (true) { try { const ret = await cex.watchBidsAsks(tickers); } catch (e) { console.error(e) }...
@sc0Vu As I said above, polling is an alternative that works, but watching the message arrive on websocket can be superior in many situations because you get aware of the...
There's another issue with using fetch instead of watch. It seems that the way many (most?) exchanges implement something like fetchTicker(), is by fetching all the tickers from the exchange,...