private ProgressiveResponse CreateProgressiveResponse(Func <HttpRequestMessage, HttpResponseMessage> handlerAction)
        {
            var handler = new ActionMessageHandler(handlerAction);
            var client  = new HttpClient(handler);

            return(new ProgressiveResponse("xxx", "authToken", "http://localhost", client));
        }
Ejemplo n.º 2
0
        private ListManagementClient CreateListManagementClient(Func <HttpRequestMessage, Task <HttpResponseMessage> > handlerAction)
        {
            var handler = new ActionMessageHandler(handlerAction);
            var client  = new HttpClient(handler);

            return(new ListManagementClient(DefaultAuthToken, client));
        }