I'm struggling to sent a wstring(100) with httpclient: "{$"on$":true, $"bri$":150}"
there are no compile errors, it seems that there's only a part of the wstring sent: "{"on":true, ""
Any tips?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like you are getting exactly half of your message.
A WSTRING has roughly twice as many bytes as a byte array.
I wonder if the two facts are related?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm struggling to sent a wstring(100) with httpclient: "{$"on$":true, $"bri$":150}"
there are no compile errors, it seems that there's only a part of the wstring sent: "{"on":true, ""
Any tips?
It looks like you are getting exactly half of your message.
A WSTRING has roughly twice as many bytes as a byte array.
I wonder if the two facts are related?
That's it!
Wstring characters are of a different length.
Changing to Wstring(200) does the trick.