do_shutdown property

Pointer<NativeFunction<pj_status_t Function(Pointer<pjsip_transport> transport)>> do_shutdown
getter/setter pair

Instruct the transport to initiate graceful shutdown procedure. After all objects release their reference to this transport, the transport will be deleted.

Note that application MUST use #pjsip_transport_shutdown() instead.

@param transport The transport.

@return PJ_SUCCESS on success.

Implementation

external ffi.Pointer<
        ffi.NativeFunction<
            pj_status_t Function(ffi.Pointer<pjsip_transport> transport)>>
    do_shutdown;