on_tx_response property

Pointer<NativeFunction<pj_status_t Function(Pointer<pjsip_tx_data> tdata)>> on_tx_response
getter/setter pair

Optional function to be called when transport layer is about to transmit outgoing response message.

@param tdata The outgoing response message.

@return Module should return PJ_SUCCESS in all cases. If non-zero is returned, the message will not be sent.

Implementation

external ffi.Pointer<
        ffi.NativeFunction<
            pj_status_t Function(ffi.Pointer<pjsip_tx_data> tdata)>>
    on_tx_response;