Removed the IsCompressionExtension (this string) method
This commit is contained in:
parent
0760613765
commit
39bdc15f3f
@ -599,11 +599,6 @@ namespace WebSocketSharp
|
|||||||
return bytes;
|
return bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static bool IsCompressionExtension (this string value)
|
|
||||||
{
|
|
||||||
return value.StartsWith ("permessage-");
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static bool IsCompressionExtension (this string value, CompressionMethod method)
|
internal static bool IsCompressionExtension (this string value, CompressionMethod method)
|
||||||
{
|
{
|
||||||
return value.StartsWith (method.ToExtensionString ());
|
return value.StartsWith (method.ToExtensionString ());
|
||||||
|
Loading…
Reference in New Issue
Block a user