[Modify] Remove it
This commit is contained in:
parent
fb2f4e1d79
commit
f0d03cefcb
@ -194,17 +194,6 @@ namespace WebSocketSharp
|
|||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static string CheckIfValidServicePath (this string path)
|
|
||||||
{
|
|
||||||
return path == null || path.Length == 0
|
|
||||||
? "'path' is null or empty."
|
|
||||||
: path[0] != '/'
|
|
||||||
? "'path' isn't an absolute path."
|
|
||||||
: path.IndexOfAny (new[] { '?', '#' }) > -1
|
|
||||||
? "'path' includes either or both query and fragment components."
|
|
||||||
: null;
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static string CheckIfValidSessionID (this string id)
|
internal static string CheckIfValidSessionID (this string id)
|
||||||
{
|
{
|
||||||
return id == null || id.Length == 0 ? "'id' is null or empty." : null;
|
return id == null || id.Length == 0 ? "'id' is null or empty." : null;
|
||||||
|
Loading…
Reference in New Issue
Block a user