7 #ifndef GOLIOTH_INCLUDE_NET_GOLIOTH_STREAM_H_
8 #define GOLIOTH_INCLUDE_NET_GOLIOTH_STREAM_H_
11 #include <zephyr/net/coap.h>
42 const uint8_t *data,
size_t data_len,
61 const uint8_t *data,
size_t data_len);
int golioth_stream_push_cb(struct golioth_client *client, const uint8_t *path, enum golioth_content_format format, const uint8_t *data, size_t data_len, golioth_req_cb_t cb, void *user_data)
Push value to Golioth's LightDB Stream (callback based)
int golioth_stream_push(struct golioth_client *client, const uint8_t *path, enum golioth_content_format format, const uint8_t *data, size_t data_len)
Push value to Golioth's LightDB Stream (synchronously)
golioth_content_format
Set of Content-Format option values for Golioth APIs.
int(* golioth_req_cb_t)(struct golioth_req_rsp *rsp)
User callback for handling valid response from server or error condition.
Represents a Golioth client instance.