on_tx_request property

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

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

@param tdata The outgoing request 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_request;