Ejemplo n.º 1
0
        public void GetLeds(HttpContext context)
        {
            Leds   leds = _ledHandler.GetLeds(context.Request.ParsedQuery);
            string json = JsonSerializer.SerializeJson(leds);

            context.Response.Payload.Write(json);
            context.Response.Status = HttpStatus.OK;
        }