public SolutionExecutionService(IProblemAccessor problemAccessor)
        {
            ProblemAccessor = problemAccessor;

            connection = new HubConnectionBuilder()
                         .WithUrl("https://localhost:44316/gamehub")
                         .Build();

            connection.StartAsync();
        }
Beispiel #2
0
 public GameHub(IProblemAccessor problemAccessor)
 {
     ProblemAccessor = problemAccessor;
 }