mardi 6 octobre 2020

Is it better to always use websockets over http in a realtime app? [closed]

I'm creating a chat application which use websockets, and I would like to know if it's a bad practice to use HTTP requests to send messages and only use the websockets to notify clients ?

Are there any advantages to emitting the message via websockets instead of HTTP if the server have to process it anyway before send it back to the others clients ?




Aucun commentaire:

Enregistrer un commentaire