Discuss this help topic in SecureBlackbox Forum


TElHTTPSServer     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when request headers have been received.


    event TSBHTTPRequestHeadersEvent OnRequestHeadersReceived;
    delegate void TSBHTTPRequestHeadersEvent(System.Object Sender, TElHTTPServerRequestParams RequestInfo, bool Accepted);

    Event OnRequestHeadersReceived As TSBHTTPRequestHeadersEvent
    Delegate Sub TSBHTTPRequestHeadersEvent(ByVal Sender As System.Object, ByVal RequestInfo As TElHTTPServerRequestParams, ByRef Accepted As Boolean)

    property OnRequestHeadersReceived : TSBHTTPRequestHeadersEvent;
    TSBHTTPRequestHeadersEvent = procedure(Sender : TObject; RequestInfo : TElHTTPServerRequestParams; var Accepted : boolean) of object;

    void get_OnRequestHeadersReceived(TSBHTTPRequestHeadersEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnRequestHeadersReceived(TSBHTTPRequestHeadersEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPRequestHeadersEvent)(void * _ObjectData, TObjectHandle Sender, TElHTTPServerRequestParamsHandle RequestInfo, int8_t &Accepted);

    TSBHTTPRequestHeadersEvent|callable|NULL get_OnRequestHeadersReceived()
    void set_OnRequestHeadersReceived(TSBHTTPRequestHeadersEvent|callable|NULL $Value)
    callable TSBHTTPRequestHeadersEvent(TObject $Sender, TElHTTPServerRequestParams $RequestInfo, bool &$Accepted)


  • RequestInfo - parameters of the request
  • Accepted - set this parameter to True in order to accept the headers


    This event is fired by TElHTTPSServer when request headers are received. The handler should return, whether to accept these headers, via Accepted parameter.

See also:     OnRequestBodyReceived     OnPreparedHeaders    

Discuss this help topic in SecureBlackbox Forum