public async Task X()
 {
     var sup = new TaskSupervisor("test");
     var cache = new OwinHostCache(new ConfigurationHostSettings("http", "localhost", 8080, HttpMethod.Post), sup);
     await cache.Send(Pipe.Empty<OwinHostContext>(), default(CancellationToken));
     await sup.Stop("test");
 }
Beispiel #2
0
        public async Task X()
        {
            var sup   = new TaskSupervisor("test");
            var cache = new OwinHostCache(new ConfigurationHostSettings("http", "localhost", 8080, HttpMethod.Post), sup);
            await cache.Send(Pipe.Empty <OwinHostContext>(), default(CancellationToken));

            await sup.Stop("test");
        }