Web.HTTPApp.TCustomWebDispatcher.ActionByName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ActionByName(const AName: string): TWebActionItem;

C++

TWebActionItem* __fastcall ActionByName(const System::UnicodeString AName);

Properties

Type Visibility Source Unit Parent
function public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TCustomWebDispatcher

Description

Returns the action item identified by the AName parameter.

Call ActionByName to gain access to an individual action item when its name is known. Change the properties of the action item so that it handles different HTTP request messages, or invoke its OnAction event handler to respond to an HTTP request message.

See Also