barter-integration-rs
barter-integration-rs copied to clipboard
Ping/Pong
Hi, I noticed that ping/pongs not working in this integration
2022-11-12 15:33:11 - TRACE: Parsed headers [137, 0]
2022-11-12 15:33:11 - TRACE: First: 10001001
2022-11-12 15:33:11 - TRACE: Second: 0
2022-11-12 15:33:11 - TRACE: Opcode: Control(Ping)
2022-11-12 15:33:11 - TRACE: Masked: false
2022-11-12 15:33:11 - TRACE: received frame
<FRAME>
final: true
reserved: false false false
opcode: PING
length: 2
payload length: 0
payload: 0x
2022-11-12 15:33:11 - TRACE: Received message
2022-11-12 15:33:11 - TRACE: [] received Ping WebSocket message
Example tokio-tungstenite normal working:
2022-11-12 18:33:23 - TRACE: Opcode: Control(Ping)
2022-11-12 18:33:23 - TRACE: Masked: false
2022-11-12 18:33:23 - TRACE: received frame
<FRAME>
final: true
reserved: false false false
opcode: PING
length: 2
payload length: 0
payload: 0x
2022-11-12 18:33:23 - TRACE: Received message
2022-11-12 18:33:23 - TRACE: Sending pong reply
2022-11-12 18:33:23 - TRACE: writing frame
<FRAME>
final: true
reserved: false false false
opcode: PONG
length: 6
payload length: 0
payload: 0x