mirror of
https://github.com/rustdesk/hbb_common.git
synced 2025-07-01 07:25:53 +00:00
[test] add test debug info.
This commit is contained in:
parent
7d5cc2ed47
commit
e9813ffdd6
@ -135,7 +135,7 @@ impl WsFramedStream {
|
||||
|
||||
#[inline]
|
||||
pub async fn send_raw(&mut self, msg: Vec<u8>) -> ResultType<()> {
|
||||
self.send_bytes(bytes::Bytes::from(msg)).await
|
||||
self.send_bytes(Bytes::from(msg)).await
|
||||
}
|
||||
|
||||
#[inline]
|
||||
@ -158,6 +158,7 @@ impl WsFramedStream {
|
||||
log::debug!("Waiting for next message");
|
||||
|
||||
while let Some(msg) = self.stream.next().await {
|
||||
log::debug!("receive msg: {:?}", msg);
|
||||
let msg = match msg {
|
||||
Ok(msg) => msg,
|
||||
Err(e) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user