SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
Sfs2X.WebSocketSharp.Net
HttpListenerResponse Class
HttpListenerResponse Methods
Abort Method
AddHeader Method
AppendCookie Method
AppendHeader Method
Close Method
CopyFrom Method
Redirect Method
SetCookie Method
HttpListenerResponse
SetCookie 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#
Copy
public
void
SetCookie
(
Cookie
cookie
)
Parameters
cookie
Type:
Sfs2X.WebSocketSharp.Net
Cookie
A
Cookie
to set.
Exceptions
Exception
Condition
ArgumentNullException
cookie
is
.
ArgumentException
cookie
already exists in the cookies and couldn't be replaced.
See Also
Reference
HttpListenerResponse Class
Sfs2X.WebSocketSharp.Net Namespace
Copyright gotoAndPlay() 2023