#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_coap_client_disconnect(
client: *mut PamojaCoapClient,
) -> PamojaStatusExpand description
Releases the socket the endpoint holds.
§Arguments
client- the endpoint.
§Returns
PamojaStatus::Ok once closed.
§Safety
client must be a live handle from pamoja_coap_client_new.