[Modify] Add it
This commit is contained in:
parent
fcbff44776
commit
a93c894e60
@ -860,6 +860,19 @@ namespace WebSocketSharp.Net
|
||||
return true;
|
||||
}
|
||||
|
||||
private static bool isValidForStatusDescription (string value)
|
||||
{
|
||||
foreach (var c in value) {
|
||||
if (c < 0x20)
|
||||
return false;
|
||||
|
||||
if (c > 0x7e)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
Loading…
Reference in New Issue
Block a user