Remote Procedure Calls
Establishing a connection
How Registrations Work
Typically, you will place you procedure registration on the session's
on_join callback, that way as soon as the session has been established your component will register the procedures it offers.
In the following snippet we register the procedure
com.example.add which takes two integers as arguments.