BeforeRequest Event
Fires before a DAV request is processed.
Syntax
func onBeforeRequest(connectionID: Int64, httpMethod: String, url: String, accept: inout Bool)
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.