Trait web_socket::CloseFrame
source · pub trait CloseFrame {
type Frame;
// Required method
fn encode<const SIDE: bool>(self) -> Self::Frame;
}
Expand description
This trait is responsible for encoding websocket closed frame.