Returns a String representing the specified cookie, in the format prescribed by RFC 2965 for the Set-Cookie HTTP header value.
public static string ToSetCookieHeaderValue(this Cookie cookie)
parameter | description |
---|---|
cookie | The cookie. |
A string in the Set-Cookie HTTP header format.