Braintree.TestUtil.TestHelper.GetResponseContent C# (CSharp) 메소드

GetResponseContent() 공개 정적인 메소드

public static GetResponseContent ( HttpResponseMessage response ) : string
response System.Net.Http.HttpResponseMessage
리턴 string
        public static string GetResponseContent(HttpResponseMessage response)
        {
            using (var reader = new StreamReader(response.Content.ReadAsStreamAsync().Result))
            return reader.ReadToEnd();
        }
        

Same methods

TestHelper::GetResponseContent ( HttpWebResponse response ) : string