Skip to content

Commit

Permalink
✨ 优化更新记录
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunMengLu committed Oct 16, 2023
1 parent 2ed9793 commit edde0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mica-mqtt-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ MqttClient client = MqttClient.create()
client.unSubscribe("/test/#");

// 发送消息
client.publish("/test/client", ByteBuffer.wrap("mica最牛皮".getBytes(StandardCharsets.UTF_8)));
client.publish("/test/client", "mica最牛皮".getBytes(StandardCharsets.UTF_8));

// 断开连接
client.disconnect();
Expand Down

0 comments on commit edde0b3

Please sign in to comment.