Sign in Join
FPDoc Onlineexperiment

TRequestInterceptorList.IndexOfInterceptor function

Member of TRequestInterceptorListpublicIn unit HTTPRoute

Finds index of interceptor by name

Declaration

pascal
function IndexOfInterceptor(const aName: string): Integer

Arguments

aName

Name of interceptor to find

Function result

Index of the interceptor or -1 if not found

Description

IndexOfInterceptor searches for an interceptor with the specified name and returns its index. It returns -1 if no interceptor with the given name is found.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.