Пример #1
0
        public void Execute()
        {
            string callbackEndPoint = _context.GetHeader("qorpent-callback-endpoint");

            _context.SetHeader("Server", "Qorpent RESTFull Server 0.1");
            _context.ContentType = "application/json; charset=utf-8";
            if (String.IsNullOrWhiteSpace(callbackEndPoint))
            {
                ProcessSyncRequest();
            }
            else
            {
                ProcessAsyncRequest(callbackEndPoint);
            }
        }