Remote functions

21 Jul 2019, 06:45

Is there a way to create a server side function that can be called in the client side?

13 Aug 2019, 14:06

@ccfiel You could use messaging, i.e. on the client side use room.send() and then on the server side receive the message in the Room class' onMessage() handler. Depending on the message contents, execute required function and return reply to client with Room's send() method. Client will receive the reply via room's registered onMessage handler.