2 writes to _closeStatusDescription
System.Net.WebSockets.Client (2)
System\Net\WebSockets\BrowserWebSockets\BrowserWebSocket.cs (2)
529
_closeStatusDescription
= statusDescription;
635
_closeStatusDescription
= closeStatusDescription;
10 references to _closeStatusDescription
System.Net.WebSockets.Client (10)
System\Net\WebSockets\BrowserWebSockets\BrowserWebSocket.cs (10)
108
if (
_closeStatusDescription
!= null)
110
return
_closeStatusDescription
;
492
return new WebSocketReceiveResult(count, messageType, isEnd, _closeStatus,
_closeStatusDescription
);
495
throw new WebSocketException(WebSocketError.InvalidMessageType,
_closeStatusDescription
);
497
throw new WebSocketException(WebSocketError.NotAWebSocket,
_closeStatusDescription
);
499
throw new WebSocketException(WebSocketError.UnsupportedProtocol,
_closeStatusDescription
);
501
throw new WebSocketException(WebSocketError.Faulted,
_closeStatusDescription
);
503
throw new WebSocketException(WebSocketError.NativeError, (int)_closeStatus!.Value,
_closeStatusDescription
);
633
if (closeStatusDescription != null &&
_closeStatusDescription
== null)
637
return
_closeStatusDescription
;