Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.OnSendData

TElHTTPSClient     See also     


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


This event notifies user about the data being sent to server.

Declaration

[C#]
    event TSBDataEvent OnSendData;
    delegate void TSBDataEvent(Object Sender, byte[] Buffer);

[VB.NET]
    Event OnSendData As TSBDataEvent
    Delegate Sub TSBDataEvent(ByVal Sender As Object, ByVal Buffer As Byte())

[Pascal]
    property OnSendData : TSBDataEvent;
    TSBDataEvent = procedure(Sender : TObject; Buffer : pointer; Size : Int32) of object;

[C++]
    void get_OnSendData(TSBDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSendData(TSBDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDataEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

[PHP]
    TSBDataEvent|callable|NULL get_OnSendData()
    void set_OnSendData(TSBDataEvent|callable|NULL $Value)
    callable TSBDataEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

[Java]
    TSBDataEvent getOnSendData();
    void setOnSendData(TSBDataEvent Value);
    TSBDataEvent.Callback OnSendData = new TSBDataEvent.Callback() {
        public void TSBDataEventCallback(TObject arg0, byte[] arg1) {
            //...
        }
    }

Parameters

  • Buffer - buffer with data to be sent
  • Size - size of the data buffer

Description

    This event is fired by TElHTTPSClient when some data (the body of HTTP request) is being sent to the server.

See also:     OnData    

Discuss this help topic in SecureBlackbox Forum