[Modify] Add it

This commit is contained in:
sta 2018-10-28 21:19:40 +09:00
parent d4399f6188
commit b2b5a71c75

View File

@ -1167,6 +1167,11 @@ namespace WebSocketSharp
&& headers.Contains ("Connection", "Upgrade", comparison);
}
internal static string UrlEncode (this string value, Encoding encoding)
{
return HttpUtility.UrlEncode (value, encoding);
}
internal static string UTF8Decode (this byte[] bytes)
{
try {