httpclient and json_io class
Hi everybody,
maybe a mindless question, but what is the easiest and most performant way to send a self assembled (and encoded) json_io class in the body of the httpclient with POST method?
The Session class for example offers the "SendResponse" method and can directly accept a json_io object. In the httpclient we have to provide byte* and the length of the message when using the Send method.
The Session class for example offers the "SendResponse" method and can directly accept a json_io object. In the httpclient we have to provide byte* and the length of the message when using the Send method.
Do i need to cast it myself? What is the correct way? (have several procedures in mind) or is there a build in function that i should use?
Thank you very much and best regards
Mladen