diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index fb7a372a..46ea4fad 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -3705,15 +3705,21 @@ namespace WebSocketSharp } /// - /// Sets an HTTP to send with - /// the WebSocket handshake request to the server. + /// Sets an HTTP cookie to send with the handshake request. /// /// - /// This method is not available in a server. + /// This method does nothing if the connection has already been + /// established or it is closing. /// /// - /// A that represents a cookie to send. + /// A that represents the cookie to send. /// + /// + /// This instance is not a client. + /// + /// + /// is . + /// public void SetCookie (Cookie cookie) { string msg = null;