Datasnap.DSHTTP.TDispatchFileEvent

From RAD Studio API Documentation
Jump to: navigation, search

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
typedef public 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