Datasnap.DSHTTP.TDispatchFileEvent

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
type
typedef
public
Datasnap.DSHTTP.pas
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