|
|
|
@ -272,8 +272,13 @@ namespace WebSocketSharp.Net
|
|
|
|
/// </exception>
|
|
|
|
/// </exception>
|
|
|
|
public Stream OutputStream {
|
|
|
|
public Stream OutputStream {
|
|
|
|
get {
|
|
|
|
get {
|
|
|
|
checkDisposed ();
|
|
|
|
if (_disposed)
|
|
|
|
return _outputStream ?? (_outputStream = _context.Connection.GetResponseStream ());
|
|
|
|
throw new ObjectDisposedException (GetType ().ToString ());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (_outputStream == null)
|
|
|
|
|
|
|
|
_outputStream = _context.Connection.GetResponseStream ();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return _outputStream;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|