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