예제 #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));
        }