nRF Connect SDK API 2.8.99
|
int nrf_cloud_rest_disconnect | ( | struct nrf_cloud_rest_context *const | rest_ctx | ) |
#include <include/net/nrf_cloud_rest.h>
Closes the connection to the server. The socket pointed to by rest_ctx.connect_socket
will be closed, and rest_ctx.connect_socket
will be set to -1.
[in,out] | rest_ctx | Context for communicating with nRF Cloud's REST API. |
0 | If successful. Otherwise, a (negative) error code is returned:
|