Messaging infrastructureWorkers

Remote worker protocol

Connect off-process Macs, iPhones, and future device workers over the versioned WebSocket contract.

Remote worker protocol — contract and behavior

  • TLS and worker authentication complete before WebSocket upgrade; mTLS and the dedicated bearer layer are distinct controls.
  • The first frame is hello, followed by hello_ack; calls receive one call_reply and devices may emit unsolicited event frames.
  • Heartbeat, close codes, jittered reconnect, and a fresh hello on reconnect define lifecycle behavior.
  • Additive frame fields are compatible when decoders ignore unknown keys; discriminator or semantic changes require protocol versioning.

Stay in the loop. Never miss out.

Subscribe to our newsletter and unlock Wisent insights.