Datasnap.DSHTTP.TDispatchFileEvent

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
typedef public Datasnap.DSHTTP.hpp Datasnap.DSHTTP Datasnap.DSHTTP

Beschreibung

Ereignis für einen Datei-Dispatcher.

Mit dem Ereignis TDispatchFileEvent führt TDSCustomHTTPServiceFileDispatcher vor und nach dem Senden einer Datei Aktionen durch.

Die Eingabeparameter stellen Informationen über die zu sendende Datei, den Kontext, die Antwortinformationen und Anforderungsinformationen der DataSnap-HTTP-Verbindung bereit.

Siehe auch