[Modify] Polish it
This commit is contained in:
parent
ed9bcaff6b
commit
5c06578ee7
@ -462,7 +462,9 @@ namespace WebSocketSharp
|
|||||||
return bytes;
|
return bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
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