[][src]Function libcoap_sys::coap_free_context

pub unsafe extern "C" fn coap_free_context(context: *mut coap_context_t)

CoAP stack context must be released with coap_free_context(). This function clears all entries from the receive queue and send queue and deletes the resources that have been registered with @p context, and frees the attached endpoints.

@param context The current coap_context_t object to free off.