Skip to main content

publish

Function publish 

Source
pub fn publish(topic: &str, message: &str)
Expand description

Publish M on "t". — the frame the page handed to the transport, (topic, message).

★ RECORDED ON BOTH TIERS, which is the only way the OUTBOUND half can be checked at all. A publish’s local delivery shows up in the page’s own HTML, so parity would look complete while the leg that actually leaves the page went unsent on one tier — the same half-a-construct shape this verb exists to close. In a browser this is the WebSocket frame; here it is the record that one was sent.