1 write to _webSocket
Microsoft.AspNetCore.Owin (1)
WebSockets\WebSocketAdapter.cs (1)
42_webSocket = webSocket;
9 references to _webSocket
Microsoft.AspNetCore.Owin (9)
WebSockets\WebSocketAdapter.cs (9)
73return _webSocket.SendAsync(buffer, OpCodeToEnum(messageType), endOfMessage, cancel); 78WebSocketReceiveResult nativeResult = await _webSocket.ReceiveAsync(buffer, cancel); 94return _webSocket.CloseOutputAsync((WebSocketCloseStatus)status, description, cancel); 121switch (_webSocket.State) 128await _webSocket.CloseAsync(_webSocket.CloseStatus ?? WebSocketCloseStatus.NormalClosure, 129_webSocket.CloseStatusDescription ?? string.Empty, _cancellationToken); 133_webSocket.Abort(); 136throw new NotSupportedException($"Unsupported {nameof(WebSocketState)} value: {_webSocket.State}.");