Example #1
0
        public async Task <CrResponder> Proc(string keyname, XferBlock[] requests)
        {
            string[] strOut = new string[] { "err", "no Key", "" };

            XferBlock xb = requests[0];

            //        Gryffin.GryffinClient gClient = new Gryffin.GryffinClient(gChannel);
            //       CrResponse grOut = await gClient.SimpleRequestAsync(
            //             new CrRequest { Request = xb.request, Action = (grqAct) xb.action }) ;

            _logger.LogInformation(String.Format("added {0} key requests", requests.Length));
            xb.result = ""; //  grOut.data;
            CrResponder grs = new CrResponder()
            {
                xb
            };

            return(grs);
        }
Example #2
0
 public async Task <CrResponder> Proc(string keyName, XferBlock oneRequest)
 {
     XferBlock[] strOut = new XferBlock[] { oneRequest };
     return(await Proc(keyName, strOut));
 }