This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public sealed class GZipMiddleware { | |
private readonly Func<IDictionary<string, object>, Task> next; | |
public GZipMiddleware(Func<IDictionary<string, object>, Task> next) { | |
this.next = next; | |
} | |
public async Task Invoke(IDictionary<string, object> environment) { | |
var context = new OwinContext(environment); |