diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 6ac9a64a..bf72b703 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -194,17 +194,6 @@ namespace WebSocketSharp : 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) { return id == null || id.Length == 0 ? "'id' is null or empty." : null;