← All compilation units

Flyology.HTTP.Server.Middleware_Metrics

Description

Records request metrics through an application-neutral sink.

App_Context

type App_Context is limited private;

Call

procedure Call
  (Context : in out App_Context;
   X       : in out Flyology.HTTP.Server.Applications.Exchange;
   Next    : in out Components.Next_Handler)

Metrics middleware component.

Parameters
Context

Typed application context

X

Borrowed request exchange

Next

Borrowed downstream continuation

Components

with package Components is new
  Flyology.HTTP.Server.Middleware (App_Context);

Output

Output : not null access Metrics.Sink'Class;