SecureBlackbox 2020 Delphi Edition

Questions / Feedback?

BeforeRequest Event

Fires before a DAV request is processed.

Syntax

type TBeforeRequestEvent = procedure (
  Sender: TObject;
  ConnectionID: Int64;
  const HTTPMethod: String;
  const URL: String;
  var Accept: Boolean
) of Object;

property OnBeforeRequest: TBeforeRequestEvent 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.

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