Skip to main content

goodbye_frame

Function goodbye_frame 

Source
pub fn goodbye_frame(
    reason: &str,
    detail: Option<&[u8]>,
) -> Result<Value, FrameError>
Expand description

macula 12’s GOODBYE: a reason of at most 256 bytes, and a detail of at most 256 bytes of UTF-8, or none.