mercredi 18 février 2015

Should web service return a deep copy of a response?

I have a long-polling web service. It notifies subscribers whenever new data is available.


Is it a good practice to return a deep copy of a response or should the data be shared with all the subscribers? Or does it simply depend on use case?


Aucun commentaire:

Enregistrer un commentaire