SecureBlackbox 2020 Qt Edition

Questions / Feedback?

BeforeRequest Event

Fires before a DAV request is processed.

Syntax

class WebDAVServerBeforeRequestEventParams {
public:
  qint64 ConnectionID();
  const QString &HTTPMethod();
  const QString &URL();
  bool Accept();
  void SetAccept(bool bAccept);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void BeforeRequest(WebDAVServerBeforeRequestEventParams *e);
// Or, subclass WebDAVServer and override this emitter function. virtual int FireBeforeRequest(WebDAVServerBeforeRequestEventParams *e) {...}

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 Qt Edition - Version 20.0 [Build 8154]