[Modify] Replace it
This commit is contained in:
parent
2be0c4c9b9
commit
dcbc93a606
@ -581,8 +581,8 @@ namespace WebSocketSharp.Net
|
||||
return;
|
||||
}
|
||||
|
||||
if (!value.MaybeUri ())
|
||||
throw new ArgumentException ("Not an absolute URL.", "value");
|
||||
if (value.Length == 0)
|
||||
throw new ArgumentException ("An empty string.", "value");
|
||||
|
||||
Uri uri;
|
||||
if (!Uri.TryCreate (value, UriKind.Absolute, out uri))
|
||||
|
Loading…
Reference in New Issue
Block a user