[Modify] Add it

This commit is contained in:
sta 2018-10-29 20:58:37 +09:00
parent b2b5a71c75
commit 4781f0b025

View File

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