Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.SendResponseData

TElHTTPSServer     See also     


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


Call this method to send response data (body) to the client.

Declaration

[C#]
    void SendResponseData(byte[] Buffer);
    void SendResponseData(byte[] Buffer, int StartIndex, int Count);
    void SendResponseData(byte[] Buffer, int Size);
    void SendResponseData(System.IO.Stream Strm);

[VB.NET]
    Sub SendResponseData(ByVal Buffer As Byte())
    Sub SendResponseData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer)
    Sub SendResponseData(ByVal Buffer As Byte(), ByVal Size As Integer)
    Sub SendResponseData(ByVal Strm As System.IO.Stream)

[Pascal]
    procedure SendResponseData(const Buffer : ByteArray); overload;
    procedure SendResponseData(const Buffer : ByteArray; StartIndex : integer; Count : integer); overload;
    procedure SendResponseData(Buffer : pointer; Size : integer); overload;
    procedure SendResponseData(Strm : TStream); overload;

[C++]
    void SendResponseData(const std::vector<uint8_t> &Buffer);
    void SendResponseData(const std::vector<uint8_t> &Buffer, int32_t StartIndex, int32_t Count);
    void SendResponseData(void * Buffer, int32_t Size);
    void SendResponseData(TStream &Strm);
    void SendResponseData(TStream *Strm);

[PHP]
    void SendResponseData(array of byte|string|NULL $Buffer)
    void SendResponseData(array of byte|string|NULL $Buffer, integer $StartIndex, integer $Count)
    void SendResponseData(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)
    void SendResponseData(TStream $Strm)

[Java]
    void sendResponseData(byte[] Buffer, int Size);
    void sendResponseData(byte[] Buffer, int StartIndex, int Count);
    void sendResponseData(byte[] Buffer);
    void sendResponseData(TElStream Strm);

Parameters

  • Buffer - buffer containing response data
  • StartIndex - index of the first byte of the response data in Buffer
  • Count - number of bytes to be sent
  • Size - size of the response data in bytes
  • Strm - stream containing the response data

Description

    Call this method in order to send response data to the client.

See also:     ResponseComplete     SendResponseHeaders    

Discuss this help topic in SecureBlackbox Forum