Fixed up the func.

This commit is contained in:
David Fowler 2014-01-25 16:36:02 -08:00
parent a8b4c71284
commit 62bcfc0a95
1 changed files with 2 additions and 1 deletions

View File

@ -1,12 +1,13 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Abstractions;
using Microsoft.AspNet.Abstractions.Owin; using Microsoft.AspNet.Abstractions.Owin;
namespace Owin namespace Owin
{ {
public static class OwinExtensions public static class OwinExtensions
{ {
public static void RunHttpContext(this IAppBuilder app, Func<OwinHttpContext, Task> handler) public static void RunHttpContext(this IAppBuilder app, Func<HttpContext, Task> handler)
{ {
app.Run(context => app.Run(context =>
{ {