What is RequestDelegate?
RequestDelegate is a delegate representing the next middleware in the
pipeline:
public delegate Task RequestDelegate(HttpContext context);
In custom middleware, it allows passing control to the next component.
RequestDelegate is a delegate representing the next middleware in the
pipeline:
public delegate Task RequestDelegate(HttpContext context);
In custom middleware, it allows passing control to the next component.