Skip to main content

LOCAL_CALL_KEY

Constant LOCAL_CALL_KEY 

Source
pub const LOCAL_CALL_KEY: &str = "bynk-local-call-key";
Expand description

I2 (#1971): the value of every edge key off the deployed path. bynk dev passes it for each edge a Worker is on (BYNK_CALL_TO_<callee>, BYNK_CALL_FROM_<caller>, named by bynk_check::wire_format), and the generated test harnesses put it in every participant’s env. Fixed rather than random so two bynk dev --context sessions run side by side still admit each other’s calls. It guards nothing, so it must never reach a deployed Worker: bynk deploy mints one key per edge, and none is ever written into a generated wrangler.toml.