[Modify] Add it

This commit is contained in:
sta 2018-09-14 19:48:27 +09:00
parent 67176e17ba
commit 3989809d43

View File

@ -415,6 +415,14 @@ namespace WebSocketSharp.Net
return c >= '0' && c <= '9'; return c >= '0' && c <= '9';
} }
private static bool isUnreserved (byte b)
{
return b == 42
|| b == 45
|| b == 46
|| b == 95;
}
private static bool isUnreserved (char c) private static bool isUnreserved (char c)
{ {
return c == '*' return c == '*'