Removed the IsCompressionExtension (this string) method

This commit is contained in:
sta 2015-03-28 23:29:00 +09:00
parent 0760613765
commit 39bdc15f3f

View File

@ -599,11 +599,6 @@ namespace WebSocketSharp
return bytes;
}
internal static bool IsCompressionExtension (this string value)
{
return value.StartsWith ("permessage-");
}
internal static bool IsCompressionExtension (this string value, CompressionMethod method)
{
return value.StartsWith (method.ToExtensionString ());