SocketTools .NET Edition

HttpClient.CookieFlags Enumeration

Specifies the cookie flags supported by the HttpClient class.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum HttpClient.CookieFlags
[C#]
[Flags]
public enum HttpClient.CookieFlags

Remarks

The HttpClient class uses the CookieFlags enumeration to specify one or more cookie flags when a cookie is set by the server. Multiple options may be specified.

Members

Member Name Description Value
cookieDefault This flag specifies that the cookie can be stored on the local system and may be provided to the server over a standard, non-secure connection. 0
cookieSecure This flag specifies that the cookie should only be provided to the server if the connection is secure. 1
cookieSession This flag specifies that the cookie should only be used for the current application session and should not be stored permanently on the local system. 2

Requirements

Namespace: SocketTools

Assembly: SocketTools.HttpClient (in SocketTools.HttpClient.dll)

See Also

SocketTools Namespace