websocket: fix opcodes values for ping/pong

And also set close

Ticket: 7025
pull/11072/head
Philippe Antoine 10 months ago committed by Victor Julien
parent 8b103ae755
commit 806052d762

@ -28,8 +28,9 @@ pub enum WebSocketOpcode {
Continuation = 0,
Text = 1,
Binary = 2,
Ping = 8,
Pong = 9,
Close = 8,
Ping = 9,
Pong = 10,
}
#[derive(Clone, Debug, Default)]

Loading…
Cancel
Save