Skip to main content

goodbye

Function goodbye 

Source
pub fn goodbye(reason: &str, detail: Option<&str>) -> Value
Expand description

Build a GOODBYE frame. reason is a short machine-readable code (e.g. "normal"); detail is an optional human-readable string.