riot_sys

Function nanocoap_sock_delete

Source
pub unsafe extern "C" fn nanocoap_sock_delete(
    sock: *mut nanocoap_sock_t,
    path: *const c_char,
) -> ssize_t
Expand description

@brief Simple synchronous CoAP (confirmable) DELETE

@param[in] sock socket to use for the request @param[in] path remote path (with query) to delete

@returns 0 on success @returns @see nanocoap_sock_request_cb on error