private void HandlePINGREQType(uint clientIndex, MqttMsgPingReq request, bool isWebSocketClient) { MqttMsgPingResp response = MsgBuilder.BuildPingResp(); byte[] resp = response.GetBytes(); Send(clientIndex, resp, resp.Length, isWebSocketClient); }