eee
This commit is contained in:
parent
3d1c275f48
commit
627ca5f1bf
|
@ -50,8 +50,8 @@ impl From<WsMessage> for GatewayMessage {
|
||||||
impl From<RawGatewayMessage> for WsMessage {
|
impl From<RawGatewayMessage> for WsMessage {
|
||||||
fn from(message: RawGatewayMessage) -> Self {
|
fn from(message: RawGatewayMessage) -> Self {
|
||||||
match message {
|
match message {
|
||||||
RawGatewayMessage::Text(text) => tungstenite::Message::Text(text),
|
RawGatewayMessage::Text(text) => WsMessage::Text(text),
|
||||||
RawGatewayMessage::Bytes(bytes) => tungstenite::Message::Binary(bytes),
|
RawGatewayMessage::Bytes(bytes) => WsMessage::Binary(bytes),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue