示例#1
0
        public async Task <IActionResult> GameBoy()
        {
            var renderer = _context.GetRenderer(Guid.Empty);

            return(await HttpContext.WithWebSocketDo((ws, ct) => renderer.RenderToWebSocketAsync(ws, ct)));
        }