diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 55f7d9b6..da104d61 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -525,22 +525,48 @@ namespace WebSocketSharp /// /// Gets or sets the value of the HTTP Origin header to send with - /// the WebSocket handshake request to the server. + /// the handshake request. /// /// - /// The sends the Origin header if this property has any. + /// + /// The HTTP Origin header is defined in + /// + /// Section 7 of RFC 6454. + /// + /// + /// This instance sends the Origin header if this property has any. + /// + /// + /// The set operation does nothing if the connection has already been + /// established or it is closing. + /// /// /// /// - /// A that represents the value of - /// the Origin header to send. - /// The default value is . + /// A that represents the value of the Origin + /// header to send. /// /// - /// The Origin header has the following syntax: - /// <scheme>://<host>[:<port>] + /// The syntax is <scheme>://<host>[:<port>]. + /// + /// + /// The default value is . /// /// + /// + /// The set operation is not available if this instance is not a client. + /// + /// + /// + /// The value specified for a set operation is not an absolute URI string. + /// + /// + /// -or- + /// + /// + /// The value specified for a set operation includes the path segments. + /// + /// public string Origin { get { return _origin;