Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Multiple Simultaneous requests

$
0
0
stevetgates wrote:
Hi maverick786us,

You need to capture the strPost variable in order to be able to access it inside your lambda function. The compiler error message is accurate. From what you are mentioning it sounds like you want to capture it by reference. In general I'd be careful about modifying global variables in your request handlers.

Steve
If I declare it inside Lambada of POST, then its access will remain inside POST code blocks, I need to access its value in GET code block too, thats why I declared it a locally within the function, so that its available throughout the function.

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>