コード例 #1
0
        public void GetCurrentGameState()
        {
            Game game = _triviaService.GetCurrentGame(Context.ConnectionId);

            _hubContext.Clients.Client(Context.ConnectionId).SendAsync("gameStateChange", game);
        }