コード例 #1
0
        public UpstreamBuilder ReRoute(Func <Context, HttpRequest, bool> match)
        {
            var route = new ReRouteConfiguration
            {
                UpstreamMatcher = match
            };

            configuration.AddRoute(route);

            return(new UpstreamBuilder(route));
        }
コード例 #2
0
 public DownstreamBuilder(ReRouteConfiguration route)
 {
     this.route = route;
 }
コード例 #3
0
 public OptionalBuilder(ReRouteConfiguration route)
 {
     this.route = route;
 }