Skip to content

THTTPRouter.DeleteRoute

Removes a route from the collection

Declaration

Source position: httproute.pp line 235

public 
procedure DeleteRoute(AIndex: Integer);

procedure DeleteRoute(ARoute: THTTPRoute);

Description

DeleteRoute removes the specified route from the router's route collection. It can delete by index or by route object reference.