SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

BeforeRequest Event

Fires before a DAV request is processed.

Syntax

webdavserver.on('BeforeRequest', [callback])

Callback

The 'callback' is called when the 'BeforeRequest' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.connectionID
e.HTTPMethod
e.URL
e.accept

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]