[][src]Function libcoap_sys::coap_session_set_max_retransmit

pub unsafe extern "C" fn coap_session_set_max_retransmit(
    session: *mut coap_session_t,
    value: c_uint
)

Set the CoAP maximum retransmit count before failure

Number of message retransmissions before message sending is stopped

@param session The CoAP session. @param value The value to set to. The default is 4 and should not normally get changed.