mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-30 10:42:48 +08:00
Update RcpClient_Samples.cs
typo
This commit is contained in:
@@ -33,7 +33,7 @@ public static class RcpClient_Samples
|
|||||||
|
|
||||||
using (var mqttRpcClient = mqttFactory.CreateMqttRpcClient(mqttClient))
|
using (var mqttRpcClient = mqttFactory.CreateMqttRpcClient(mqttClient))
|
||||||
{
|
{
|
||||||
// Access to a fully featured application message is not supported for RCP calls!
|
// Access to a fully featured application message is not supported for RPC calls!
|
||||||
// The method will throw an exception when the response was not received in time.
|
// The method will throw an exception when the response was not received in time.
|
||||||
await mqttRpcClient.ExecuteAsync(TimeSpan.FromSeconds(2), "ping", "", MqttQualityOfServiceLevel.AtMostOnce);
|
await mqttRpcClient.ExecuteAsync(TimeSpan.FromSeconds(2), "ping", "", MqttQualityOfServiceLevel.AtMostOnce);
|
||||||
}
|
}
|
||||||
@@ -81,4 +81,4 @@ public static class RcpClient_Samples
|
|||||||
// ! Do not send response message with the _retain_ flag set to true.
|
// ! Do not send response message with the _retain_ flag set to true.
|
||||||
// ! All required data for a RPC call and the result must be placed into the payload.
|
// ! All required data for a RPC call and the result must be placed into the payload.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user