barter_integration::protocol::websocket

Function process_ping

Source
pub fn process_ping<ExchangeMessage>(
    ping: Bytes,
) -> Option<Result<ExchangeMessage, SocketError>>
Expand description

Basic process for a WebSocket ping message. Logs the payload at trace level.