yet another RPC mechanism to call functions on the backend from the browser.