|
|
|
@ -972,8 +972,10 @@ namespace WebSocketSharp.Net
|
|
|
|
/// </exception>
|
|
|
|
/// </exception>
|
|
|
|
public void Close (byte[] responseEntity, bool willBlock)
|
|
|
|
public void Close (byte[] responseEntity, bool willBlock)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (_disposed)
|
|
|
|
if (_disposed) {
|
|
|
|
throw new ObjectDisposedException (GetType ().ToString ());
|
|
|
|
var name = GetType ().ToString ();
|
|
|
|
|
|
|
|
throw new ObjectDisposedException (name);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (responseEntity == null)
|
|
|
|
if (responseEntity == null)
|
|
|
|
throw new ArgumentNullException ("responseEntity");
|
|
|
|
throw new ArgumentNullException ("responseEntity");
|
|
|
|
|