|
|
|
@ -814,8 +814,11 @@ namespace WebSocketSharp.Net
|
|
|
|
if (_internallyUsed)
|
|
|
|
if (_internallyUsed)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
if (isRestricted (name, true))
|
|
|
|
if (isRestricted (name, true)) {
|
|
|
|
throw new ArgumentException ("This header must be modified with the appropiate property.");
|
|
|
|
var msg = "This header must be modified with the appropiate property.";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
throw new ArgumentException (msg);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void checkState (bool response)
|
|
|
|
private void checkState (bool response)
|
|
|
|
|