BeforeRequest Event
Fires before a DAV request is processed.
Syntax
typedef struct { __int64 ConnectionID; String HTTPMethod; String URL; bool Accept; } TsbxWebDAVServerBeforeRequestEventParams; typedef void __fastcall (__closure *TsbxWebDAVServerBeforeRequestEvent)(System::TObject* Sender, TsbxWebDAVServerBeforeRequestEventParams *e); __property TsbxWebDAVServerBeforeRequestEvent OnBeforeRequest = { read=FOnBeforeRequest, write=FOnBeforeRequest };
Remarks
This event fires before an incoming request is processed. ConnectionID indicates the client's unique connection ID; HTTPMethod specifies the HTTP method being used to submit the request, and URL signifies the object's URL.
Use Accept parameter to accept or reject the request.