Click or drag to resize

WebSocketEnableRedirection Property

Gets or sets a value indicating whether the URL redirection for the handshake request is allowed.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public bool EnableRedirection { get; set; }

Property Value

Type: Boolean

true if this instance allows the URL redirection for the handshake request; otherwise, false.

The default value is false.

Exceptions
ExceptionCondition
InvalidOperationException The set operation is not available if this instance is not a client.
Remarks
The set operation does nothing if the connection has already been established or it is closing.
See Also