public static IOcelotPipelineBuilder UseGrpcHttpMiddleware(this IOcelotPipelineBuilder builder) { ServiceLocator.Instance = builder.ApplicationServices; var plugin = ServiceLocator.GetService <GrpcPluginFactory>(); var proto = ServiceLocator.GetService <GrpcProtoFactory>(); plugin.InitAsync(); proto.InitAsync(); return(builder.UseMiddleware <OcelotGrpcHttpMiddleware>()); }
public static IOcelotPipelineBuilder UseClaimsToClaimsMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <ClaimsToClaimsMiddleware>()); }
public static IOcelotPipelineBuilder UseDownstreamRouteFinderMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <DownstreamRouteFinderMiddleware>()); }
public static void UseRpcRequesterMiddleware(this IOcelotPipelineBuilder builder) { builder.UseMiddleware <RelayRequesterMiddleware>(); }
public static IOcelotPipelineBuilder UseOutputCacheMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <OutputCacheMiddleware>()); }
public static IOcelotPipelineBuilder UseCzarClientRateLimitMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <CzarClientRateLimitMiddleware>()); }
public static IOcelotPipelineBuilder UseMiddleware <TMiddleware>(this IOcelotPipelineBuilder app, params object[] args) { return(app.UseMiddleware(typeof(TMiddleware), args)); }
public static IOcelotPipelineBuilder UseResponderMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <ResponderMiddleware>()); }
public static IOcelotPipelineBuilder UseGrpcHttpMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <GrpcHttpMiddleware>()); }
public static IOcelotPipelineBuilder UseLoadBalancingMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <LoadBalancingMiddleware>()); }
public static IOcelotPipelineBuilder UseQueryStringBuilderMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <QueryStringBuilderMiddleware>()); }
public static IOcelotPipelineBuilder UseOrleansRequesterMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <OrleansRequesterMiddleware>()); }
public static IOcelotPipelineBuilder UseSecurityMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <SecurityMiddleware>()); }
public static IOcelotPipelineBuilder UseCzaHttpRequesterMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <CzarHttpRequesterMiddleware>()); }
public static IOcelotPipelineBuilder UseDownstreamRequestInitialiser(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <DownstreamRequestInitialiserMiddleware>()); }
public static IOcelotPipelineBuilder UseRequestIdMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <ReRouteRequestIdMiddleware>()); }
public static IOcelotPipelineBuilder UseHttpHeadersTransformationMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <HttpHeadersTransformationMiddleware>()); }
public static IOcelotPipelineBuilder UseExceptionHandlerMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <ExceptionHandlerMiddleware>()); }
public static IOcelotPipelineBuilder UseCustomResponseMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <CustomOcelotMiddleware>()); }
public static IOcelotPipelineBuilder UseWebSocketsProxyMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <WebSocketsProxyMiddleware>()); }
public static IOcelotPipelineBuilder UseAhphAuthenticationMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <AhphAuthenticationMiddleware>()); }
public static IOcelotPipelineBuilder UseRefreshTokenMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <TokenRefreshMiddleware>()); }
public static IOcelotPipelineBuilder UseHttpRequestHeadersBuilderMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <HttpRequestHeadersBuilderMiddleware>()); }
public static IOcelotPipelineBuilder UseCzarRpcMiddleware(this IOcelotPipelineBuilder builder) { return(builder.UseMiddleware <CzarRpcMiddleware>()); }