Noemax.WCFX.Channels Namespace > WebSocketTransportBindingElement Class : PayloadMasking Property |
'Declaration Public Property PayloadMasking As System.Boolean
'Usage Dim instance As WebSocketTransportBindingElement Dim value As System.Boolean instance.PayloadMasking = value value = instance.PayloadMasking
public System.bool PayloadMasking {get; set;}
public read-write property PayloadMasking: System.Boolean;
public function get,set PayloadMasking : System.boolean
By default all messages from the client to the server are masked, while all messages from the server to the client are not masked, as required by the WebSocket protocol specification.
You can disable or enable masking by setting this property, but strict WebSocket implementations will drop the connection if masking requirements are not followed.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2