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