Cookie access within a HTTP Class
- by James Jeffery
I have a HTTP class that has a Get, and Post, method. It's a simple class I created to encapsulate Post and Get requests so I don't have to repeat the get/post code throughout the application.
In C#:
class HTTP
{
private CookieContainer cookieJar;
private String userAgent = "...";
public HTTP()
{
this.cookieJar = new…