Datasnap.DSHTTP.TDispatchFileEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDispatchFileEvent = procedure (Sender: TObject; const AFileName: string;
AContext: TDSHTTPContext; Request: TDSHTTPRequest;
Response: TDSHTTPResponse; var Handled: Boolean) of object;

C++

typedef void __fastcall (__closure *TDispatchFileEvent)(System::TObject* Sender, const System::UnicodeString AFileName, Datasnap::Dshttpcommon::TDSHTTPContext* AContext, Datasnap::Dshttpcommon::TDSHTTPRequest* Request, Datasnap::Dshttpcommon::TDSHTTPResponse* Response, bool &Handled);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP Datasnap.DSHTTP

Description

Event for file dispacher.

TDispatchFileEvent is the event used by TDSCustomHTTPServiceFileDispatcher to perform actions before and after the dispatch of a file.

The input parameters provide information on the: file being dispatched, context, response information, and request information of the DataSnap HTTP connection.

See Also