Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.OnCookie

TElHTTPSClient     See also     


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


This event is fired when cookie from server is received.

Declaration

[C#]
    event TSBHTTPCookieEvent OnCookie;
    delegate void TSBHTTPCookieEvent(Object Sender, string CookieText);

[VB.NET]
    Event OnCookie As TSBHTTPCookieEvent
    Delegate Sub TSBHTTPCookieEvent(ByVal Sender As Object, ByVal CookieText As String)

[Pascal]
    property OnCookie : TSBHTTPCookieEvent;
    TSBHTTPCookieEvent = procedure(Sender : TObject; CookieText : string) of object;

[C++]
    void get_OnCookie(TSBHTTPCookieEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCookie(TSBHTTPCookieEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPCookieEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcCookieText, int32_t szCookieText);

[PHP]
    TSBHTTPCookieEvent|callable|NULL get_OnCookie()
    void set_OnCookie(TSBHTTPCookieEvent|callable|NULL $Value)
    callable TSBHTTPCookieEvent(TObject $Sender, string $CookieText)

[Java]
    TSBHTTPCookieEvent getOnCookie();
    void setOnCookie(TSBHTTPCookieEvent Value);
    TSBHTTPCookieEvent.Callback OnCookie = new TSBHTTPCookieEvent.Callback() {
        public void TSBHTTPCookieEventCallback(TObject Sender, String CookieText) {
            //...
        }
    }

Parameters

  • CookieText - text of the received cookie
  • pcCookieText - text of the received cookie
  • szCookieText - the length of pcCookieText.

Description

    This event is fired by TElHTTPSClient when the cookie from server is received.

See also:     OnData    

Discuss this help topic in SecureBlackbox Forum