[Modify] Add it
This commit is contained in:
parent
d4399f6188
commit
b2b5a71c75
@ -1167,6 +1167,11 @@ namespace WebSocketSharp
|
|||||||
&& headers.Contains ("Connection", "Upgrade", comparison);
|
&& 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)
|
internal static string UTF8Decode (this byte[] bytes)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user