Skip to content

TRequestInterceptorList.IndexOfInterceptor

Finds index of interceptor by name

Declaration

Source position: httproute.pp line 194

public 
function TRequestInterceptorList.IndexOfInterceptor(const aName: string)
                                                    : Integer;

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.