Noemax.WCFX.Channels Namespace > WebSocketTransportBindingElement Class : Origin Property |
When this property is set on the client side, the Origin header is sent to the remote endpoint during the handshake.
When this property is set on the server side, server requires specified Origin header value to be provided by the client during the handshake or otherwise refuse to accept the client handshake.
Default value of this property is String.Empty, when String.Empty, 'Sec-WebSocket-Protocol' header is not exchanged and not required during the handshake.
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