Unit 'HTTPRoute' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TRequestInterceptorList.IndexOfInterceptor

Finds index of interceptor by name

Declaration

Source position: httproute.pp line 194

public function TRequestInterceptorList.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.


Documentation generated on: Jan 27 2026