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