nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
rest_client_req_context Struct Reference

REST client request context. More...

#include <rest_client.h>

Data Fields

int connect_socket
 
bool keep_alive
 
int sec_tag
 
int tls_peer_verify
 
enum http_method http_method
 
const char * host
 
uint16_t port
 
const char * url
 
const char ** header_fields
 
const char * body
 
size_t body_len
 
int32_t timeout_ms
 
char * resp_buff
 
size_t resp_buff_len
 

Detailed Description

REST client request context.

Input parameters for using the REST client API should be filled into this structure before calling rest_client_request.


The documentation for this struct was generated from the following file: