public static IAppBuilder UseSourceCodeProxy(this IAppBuilder app, SourceCodeProxyOptions options = null) { options = options ?? new SourceCodeProxyOptions(); app.Use <SourceCodeProxyMiddleware>(options); return(app); }
public SourceCodeProxyMiddleware(OwinMiddleware next, SourceCodeProxyOptions options) : base(next) { _options = options; }