Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/tuyanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-10-29 14:34:25 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-10-29 14:34:25 +0300
commit4158f2987af496a052384c9f131d1f2e0ce82723 (patch)
treed661841066cf98e29c9d0647e803438bfe651653 /TuyaParser.cs
parent166034b06b29bc21376338aadbb4406782b53bbb (diff)
CreatePayload() renamed to EncodeRequest()
Diffstat (limited to 'TuyaParser.cs')
-rw-r--r--TuyaParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TuyaParser.cs b/TuyaParser.cs
index 8e22b19..c8b87b3 100644
--- a/TuyaParser.cs
+++ b/TuyaParser.cs
@@ -56,7 +56,7 @@ namespace com.clusterrr.TuyaNet
return data;
}
- internal static byte[] CreatePayload(TuyaCommand command, string json, byte[] key, TuyaProtocolVersion protocolVersion = TuyaProtocolVersion.V33)
+ internal static byte[] EncodeRequest(TuyaCommand command, string json, byte[] key, TuyaProtocolVersion protocolVersion = TuyaProtocolVersion.V33)
{
// Remove spaces and newlines
var root = JObject.Parse(json);