Beispiel #1
0
        async Task <TestableHttpResponse> GetResponseAsync(ResponseCreator responseCreator)
        {
            var request = new TestableHttpRequest(null, null);
            var retval  = new TestableHttpResponse();
            await responseCreator.CreateResponseAsync(request, new byte[0], retval, endpoint);

            return(retval);
        }