Fixed up the func.
This commit is contained in:
parent
a8b4c71284
commit
62bcfc0a95
|
|
@ -1,12 +1,13 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Abstractions;
|
||||
using Microsoft.AspNet.Abstractions.Owin;
|
||||
|
||||
namespace Owin
|
||||
{
|
||||
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 =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue