Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27513

VS 2012 RestSharp recommend usage

$
0
0
Good afternoon forum,
I have a project that uses RestSharp. When I make a request such as a POST I get a session cookie in return which is dropped into a Cookie Container. This all easy if I only use it on 1 form. How would I go bout having the cookie container present in all forms. I currently create a new client per request and close it when I'm done. Should I just create the Cookie Container as a global in my Mainform and pass it to the client everytime its created or is there a better use.

Viewing all articles
Browse latest Browse all 27513

Trending Articles



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