docs/modules/module-bridge.mdx
Connects this III Engine instance to another III instance over WebSocket so you can expose local functions and forward calls to remote functions.
modules::bridge_client::BridgeClientModule
- class: modules::bridge_client::BridgeClientModule
config:
url: ${REMOTE_III_URL:ws://0.0.0.0:49134}
service_id: bridge-client
service_name: bridge-client
expose:
- local_function: engine::log::info
remote_function: engine::log::info
forward:
- local_function: remote::state::get
remote_function: state::get
timeout_ms: 5000
- local_function: remote::state::set
remote_function: state::set
timeout_ms: 5000
- local_function: remote::state::delete
remote_function: state::delete
timeout_ms: 5000