ccfiel last edited by ccfiel
Is there a way to create a server side function that can be called in the client side?
timo_u last edited by
@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.