[Modify] Remove it

This commit is contained in:
sta 2017-09-29 16:17:18 +09:00
parent 32db15c27a
commit c87c9615de

View File

@ -163,16 +163,6 @@ namespace WebSocketSharp
return ret;
}
internal static string CheckIfValidProtocols (this string[] protocols)
{
return protocols.Contains (
protocol => protocol == null || protocol.Length == 0 || !protocol.IsToken ())
? "Contains an invalid value."
: protocols.ContainsTwice ()
? "Contains a value twice."
: null;
}
internal static void Close (this HttpListenerResponse response, HttpStatusCode code)
{
response.StatusCode = (int) code;