diff --git a/websocket-sharp/Net/Cookie.cs b/websocket-sharp/Net/Cookie.cs
index dda5adeb..bdd4f871 100644
--- a/websocket-sharp/Net/Cookie.cs
+++ b/websocket-sharp/Net/Cookie.cs
@@ -589,7 +589,7 @@ namespace WebSocketSharp.Net
}
///
- /// Gets or sets the value of the Port attribute of the cookie.
+ /// Gets the value of the Port attribute of the cookie.
///
///
///
@@ -597,30 +597,18 @@ namespace WebSocketSharp.Net
/// that the cookie applies to.
///
///
- /// An empty string if this attribute is not needed.
+ /// An empty string if not present.
///
///
/// The default value is an empty string.
///
///
- ///
- ///
- /// The value specified for a set operation is not enclosed in
- /// double quotes.
- ///
- ///
- /// -or-
- ///
- ///
- /// The value specified for a set operation could not be parsed.
- ///
- ///
public string Port {
get {
return _port ?? String.Empty;
}
- set {
+ internal set {
if (value.IsNullOrEmpty ()) {
_port = value;
_ports = null;