Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Representation of a CoAP client request. More...
#include <coap_client.h>
Data Fields | |
enum coap_method | method |
Method of the request. | |
bool | confirmable |
CoAP Confirmable/Non-confirmable message. | |
const char * | path |
Path of the requested resource. | |
enum coap_content_format | fmt |
Content format to be used. | |
uint8_t * | payload |
User allocated buffer for send request. | |
size_t | len |
Length of the payload. | |
coap_client_response_cb_t | cb |
Callback when response received. | |
struct coap_client_option * | options |
Extra options to be added to request. | |
uint8_t | num_options |
Number of extra options. | |
void * | user_data |
User provided context. | |
Representation of a CoAP client request.
coap_client_response_cb_t coap_client_request::cb |
Callback when response received.
bool coap_client_request::confirmable |
CoAP Confirmable/Non-confirmable message.
enum coap_content_format coap_client_request::fmt |
Content format to be used.
size_t coap_client_request::len |
Length of the payload.
enum coap_method coap_client_request::method |
Method of the request.
uint8_t coap_client_request::num_options |
Number of extra options.
struct coap_client_option* coap_client_request::options |
Extra options to be added to request.
const char* coap_client_request::path |
Path of the requested resource.
uint8_t* coap_client_request::payload |
User allocated buffer for send request.
void* coap_client_request::user_data |
User provided context.