Constant axum::extract::ws::close_code::UNSUPPORTED

source ·
pub const UNSUPPORTED: u16 = 1003;
Expand description

Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).