RPC

Deployment contexts

A Springboard application can be deployed and run in multiple ways. An application deployment can be offline-only, online-only, or a hybrid where features can swap between contexts.

Online

The framework helps facilitate realtime communication between clients using WebSockets and JSON-RPC. By defining shared actions and states in your application, user actions are sent to the main device to process the action, and any shared state that changes as a consequence from the action is automatically synchronized across devices in realtime.

Multi-player deployment

Offline

In the application’s local-only offline mode, all code runs locally and any data storage happens locally. This works for browser, mobile app, and desktop app deployments. This is powerful for allowing users to try your application without having to sign up for an account.

Single-player deployment