public void SetCookie(string name, string value, TimeSpan?expiresIn = null)
 {
     client.SetCookie(name, value, expiresIn);
 }