Skip to content

Instantly share code, notes, and snippets.

public class AggregationMiddleware
{
private static readonly TimeSpan DefaultTimeout = TimeSpan.FromSeconds(100);
public static readonly EventId Aggregating = new EventId(1, "Aggregating");
private readonly RequestDelegate _next;
private readonly ILogger _logger;
private readonly IHttpForwarder _forwarder;
public AggregationMiddleware(RequestDelegate next, ILogger<AggregationMiddleware> logger, IHttpForwarder forwarder)
trigger:
branches:
include:
- '*'
tags:
include:
- '*'
pr:
branches: