pub unsafe extern "C" fn nanocoap_get_blockwise_url(
    url: *const c_char,
    blksize: coap_blksize_t,
    callback: coap_blockwise_cb_t,
    arg: *mut c_void
) -> c_int
Expand description

@brief Performs a blockwise coap get request to the specified url.

This function will fetch the content of the specified resource path via block-wise-transfer. A coap_blockwise_cb_t will be called on each received block.

@param[in] url Absolute URL pointer to source path (i.e. not containing a fragment identifier) @param[in] blksize sender suggested SZX for the COAP block request @param[in] callback callback to be executed on each received block @param[in] arg optional function arguments

@returns -EINVAL if an invalid url is provided @returns -1 if failed to fetch the url content @returns 0 on success