onBeforeRequest (event)
Fires before a DAV request is processed.
Syntax
- (void)onBeforeRequest:(long long)connectionID :(NSString*)HTTPMethod :(NSString*)URL :(int*)accept;
func onBeforeRequest(_ connectionID: Int64, _ HTTPMethod: String, _ URL: String, _ accept: inout Int32)
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.