/// <summary> /// Adds the cookie to the set of cookie to use for a request. /// </summary> /// <param name="cookie">Cookie to add to request.</param> public void AddCookie(HttpCookie cookie) { new { cookie }.AsArg().Must().NotBeNull(); this.cookies.Add(cookie.ToSystemNetCookie()); }