Discuss this help topic in SecureBlackbox Forum


TElHTTPTSPClient     See also     

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

This Event if fired when an error occurs during HTTP protocol flow.


    event TSBHTTPTSPErrorEvent OnHTTPError;
    delegate void TSBHTTPTSPErrorEvent(Object Sender, int ResponseCode);

    Event OnHTTPError As TSBHTTPTSPErrorEvent
    Delegate Sub TSBHTTPTSPErrorEvent(ByVal Sender As Object, ByVal ResponseCode As Integer)

    property OnHTTPError : TSBHTTPTSPErrorEvent;
    TSBHTTPTSPErrorEvent = procedure (Sender : TObject; ResponseCode : integer) of object;

    void get_OnHTTPError(TSBHTTPTSPErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnHTTPError(TSBHTTPTSPErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPTSPErrorEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ResponseCode);

    TSBHTTPTSPErrorEvent|callable|NULL get_OnHTTPError()
    void set_OnHTTPError(TSBHTTPTSPErrorEvent|callable|NULL $Value)
    callable TSBHTTPTSPErrorEvent(TObject $Sender, integer $ResponseCode)


  • ResponseCode - contains server response code.


    This event is fired when the component receives response code other than 200 from the server. It allows to track errors that happen during HTTP request to the remote server.

See also:     HTTPClient    

Discuss this help topic in SecureBlackbox Forum