Skip to main content

is_mutating

Function is_mutating 

Source
pub fn is_mutating(kind: &str) -> bool
Expand description

Whether a command type is mutating, hence idempotent and recorded (§7.3): every command except session.hello, *.get, *.list, message.history, audit.list, member.bans, membership.pending, invite.uses, community.rotations, attachment.download, voice.signal, voice.keys, sync.* and signal.*. voice.signal and voice.keys change nothing at the host: they are relayed live, and a retry is relayed again.