diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-10-29 14:34:25 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-10-29 14:34:25 +0300 |
commit | 4158f2987af496a052384c9f131d1f2e0ce82723 (patch) | |
tree | d661841066cf98e29c9d0647e803438bfe651653 /TuyaParser.cs | |
parent | 166034b06b29bc21376338aadbb4406782b53bbb (diff) |
CreatePayload() renamed to EncodeRequest()
Diffstat (limited to 'TuyaParser.cs')
-rw-r--r-- | TuyaParser.cs | 2 |
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);
|