Skip to main content

CALLBACK_PREFIX

Constant CALLBACK_PREFIX 

Source
pub const CALLBACK_PREFIX: &str = "__callback__";
Expand description

Prefix for callback identifiers in the protocol.

Callback arguments are encoded as __callback__<uuid> strings. When the remote side invokes the callback, it sends a message with type: "callback" and the callback ID in the method field.