Discuss this help topic in SecureBlackbox Forum

TElWebDAVServer.OnStatusCode

TElWebDAVServer     


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


This event is fired when a status code should be returned by the server.

Declaration

[C#]
    event TSBWebDAVStatusCodeEvent OnStatusCode;
    delegate void TSBWebDAVStatusCodeEvent(Object Sender, ref int StatusCode, TElHTTPServerRequestParams ReqParams, TElHTTPServerResponseParams RespParams);

[VB.NET]
    Event OnStatusCode As TSBWebDAVStatusCodeEvent
    Delegate Sub TSBWebDAVStatusCodeEvent(ByVal Sender As Object, ByRef StatusCode As Integer, ByVal ReqParams As TElHTTPServerRequestParams, ByVal RespParams As TElHTTPServerResponseParams)

[Pascal]
    property OnStatusCode : TSBWebDAVStatusCodeEvent;
    TSBWebDAVStatusCodeEvent = procedure(Sender : TObject; var StatusCode : integer; ReqParams : TElHTTPServerRequestParams; RespParams : TElHTTPServerResponseParams) of object;

[C++]
    void get_OnStatusCode(TSBWebDAVStatusCodeEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnStatusCode(TSBWebDAVStatusCodeEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWebDAVStatusCodeEvent)(void * _ObjectData, TObjectHandle Sender, int32_t &StatusCode, TElHTTPServerRequestParamsHandle ReqParams, TElHTTPServerResponseParamsHandle RespParams);

[PHP]
    TSBWebDAVStatusCodeEvent|callable|NULL get_OnStatusCode()
    void set_OnStatusCode(TSBWebDAVStatusCodeEvent|callable|NULL $Value)
    callable TSBWebDAVStatusCodeEvent(TObject $Sender, integer &$StatusCode, TElHTTPServerRequestParams $ReqParams, TElHTTPServerResponseParams $RespParams)

[Java]
    TSBWebDAVStatusCodeEvent getOnStatusCode();
    void setOnStatusCode(TSBWebDAVStatusCodeEvent Value);
    TSBWebDAVStatusCodeEvent.Callback OnStatusCode = new TSBWebDAVStatusCodeEvent.Callback() {
        public void TSBWebDAVStatusCodeEventCallback(TObject Sender, TSBInteger StatusCode, TElHTTPServerRequestParams ReqParams, TElHTTPServerResponseParams RespParams) {
            //...
        }
    }

Parameters

  • StatusCode - the status code received from the server.
  • ReqParams - contains request params.
  • RespParams - conains response params.

Description

    This event is fired by TElWebDAVServer before sending a status code response.

Discuss this help topic in SecureBlackbox Forum