Click or drag to resize

HttpListenerResponseSetCookie Method

Adds or updates a cookie in the cookies sent with the response.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void SetCookie(
	Cookie cookie
)

Parameters

cookie
Type: Sfs2X.WebSocketSharp.NetCookie
A Cookie to set.
Exceptions
ExceptionCondition
ArgumentNullExceptioncookie is .
ArgumentExceptioncookie already exists in the cookies and couldn't be replaced.
See Also