All you have to do is… well… you can't.
There's no method to share. Online games keep their important logic on the server, which is exactly why client-side tricks don't get you anywhere.