Discuss this help topic in SecureBlackbox Forum


TElHTTPSServer     See also     

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

This event is used to write the encrypted data to the socket.


    event TSBSendEvent OnSend;
    delegate void TSBSendEvent(Object Sender, byte[] Buffer);

    Event OnSend As TSBSendEvent
    Delegate Sub TSBSendEvent(ByVal Sender As Object, ByVal Buffer As Byte())

    property OnSend : TSBDataEvent;
    TSBSendEvent = procedure (Sender : TObject; Buffer : Pointer; Size : LongInt) of object;

    void get_OnSend(TSBSendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSend(TSBSendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSBSendEvent|callable|NULL get_OnSend()
    void set_OnSend(TSBSendEvent|callable|NULL $Value)
    callable TSBSendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

    TSBSendEvent getOnSend();
    void setOnSend(TSBSendEvent Value);
    TSBSendEvent.Callback OnSend = new TSBSendEvent.Callback() {
        public void TSBSendEventCallback(TObject arg0, byte[] arg1) {


  • Buffer - the block of encoded data that is to be written to the socket.
  • Size - the length of the buffer in bytes.


    This event is fired by TElHTTPSServer when it wants to write the encoded data block to the socket.

See also:     OnData    

Discuss this help topic in SecureBlackbox Forum