Function riot_sys::nanocoap_sock_get_non

source ยท
pub unsafe extern "C" fn nanocoap_sock_get_non(
    sock: *mut nanocoap_sock_t,
    path: *const c_char,
    response: *mut c_void,
    len_max: size_t,
) -> ssize_t
Expand description

@brief Simple non-confirmable GET

@param[in] sock socket to use for the request @param[in] path remote path and query @param[out] response buffer for the response, may be NULL @param[in] len_max length of @p response

@returns length of response payload on success @returns @see nanocoap_sock_request_cb on error