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

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

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

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

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

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