Example #1
0
        public object Post(ProcessConnectionManagerControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _connectionManager);

            return(ResultFactory.GetResult(response.Xml, XMLContentType));
        }
        public async Task<object> Post(ProcessConnectionManagerControlRequest request)
        {
            var response = await PostAsync(request.RequestStream, _connectionManager).ConfigureAwait(false);

            return ResultFactory.GetResult(response.Xml, "text/xml");
        }
Example #3
0
        public object Post(ProcessConnectionManagerControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _connectionManager).Result;

            return ResultFactory.GetResult(response.Xml, "text/xml");
        }
Example #4
0
        public object Post(ProcessConnectionManagerControlRequest request)
        {
            var response = PostAsync(request.RequestStream, _connectionManager).Result;

            return(ResultFactory.GetResult(response.Xml, "text/xml"));
        }
Example #5
0
        public async Task <object> Post(ProcessConnectionManagerControlRequest request)
        {
            var response = await PostAsync(request.RequestStream, _connectionManager).ConfigureAwait(false);

            return(ResultFactory.GetResult(response.Xml, XMLContentType));
        }