Comparison between jQuery post( or get) and socket.emit for communicating with server



  • It looks like we can use either jQuery get/post or socket.emit when we try to get json data from or send it to a custom plugin in server.

    Can experts share your experience as to when to use one and when not to use the other?
    Any situation on choosing one over the other?

    Thanks in advance


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.