How to collaborate in real time

How to collaborate in real time between server and clients? If I want to use omniverse Kit to reach that, what api should I use?