[−][src]Function libcoap_sys::coap_session_set_mtu
pub unsafe extern "C" fn coap_session_set_mtu(
session: *mut coap_session_t,
mtu: c_uint
)
Set the session MTU. This is the maximum message size that can be sent, excluding IP and UDP overhead.
@param session The CoAP session. @param mtu maximum message size