C-DEngine 5.105

WebSocket..::..Origin Property

Gets or sets the value of the HTTP Origin header to send with the WebSocket connection request to the server.

Namespace:  WebSocketSharp
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public string Origin { get; set; }
Public Property Origin As String
	Get
	Set
public:
property String^ Origin {
	String^ get ();
	void set (String^ value);
}

Field Value

A String that represents the value of the Origin header to send. The default value is nullNothingnullptra null reference (Nothing in Visual Basic).

The Origin header has the following syntax: <scheme>://<host>[:<port>]

Remarks


The WebSocket sends the Origin header if this property has any.