[Modify] Add them
This commit is contained in:
@@ -270,6 +270,12 @@ namespace WebSocketSharp.Net
|
||||
}
|
||||
|
||||
set {
|
||||
if (value == null)
|
||||
throw new ArgumentNullException ("value");
|
||||
|
||||
if (value.Length == 0)
|
||||
throw new ArgumentException ("An empty string.", "value");
|
||||
|
||||
_targetHost = value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user