THTTPRouter.RegisterInterceptor procedure
Registers a request interceptor
Declaration
procedure RegisterInterceptor(const aName: string;
aEvent: TRequestInterceptEvent;
aAt: TInterceptAt=iaBefore)Arguments
aName | Unique name for the interceptor |
aEvent | Event handler for the interceptor |
aAt | Timing when interceptor should run |
Description
RegisterInterceptor adds a new request interceptor to the router.
It configures the interceptor with the specified name, event handler, and timing.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
