From bbc70c53143a488e664362b66a007373b1862c3c Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 14 Oct 2017 14:54:00 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/WebSocket.cs | 40 +++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) 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;