示例#1
0
        public IResponse GetResponseHttpClient(HttpClient client, IContactPostMessageRequest[] requestBody, Dictionary <string, string> values, string uri)
        {
            IResponse response = new IContactResponse();

            response = responseManager.GetResponseFromHttpClient(client, requestBody, values, uri).Result;
            return(response);
        }
示例#2
0
        public IResponse GetResponse(HttpWebRequest request)
        {
            IResponse response = new IContactResponse();

            response = responseManager.GetResponse(request);
            return(response);
        }