IoTivity-Lite
oc_request_t Struct Reference

request information structure More...

#include <oc_ri.h>

Data Fields

const uint8_t * _payload
 payload of the request More...
 
size_t _payload_len
 payload size More...
 
oc_content_format_t accept
 accept header More...
 
oc_content_format_t content_format
 content format (of the payload in the request) More...
 
oc_endpoint_torigin
 origin of the request More...
 
const char * query
 query (as string) More...
 
size_t query_len
 query lenght More...
 
oc_rep_t * request_payload
 request payload structure More...
 
oc_resource_tresource
 resource structure More...
 
oc_response_tresponse
 pointer to the response More...
 

Detailed Description

request information structure

Field Documentation

◆ _payload

const uint8_t* _payload

payload of the request

◆ _payload_len

size_t _payload_len

payload size

◆ accept

accept header

◆ content_format

oc_content_format_t content_format

content format (of the payload in the request)

◆ origin

oc_endpoint_t* origin

origin of the request

◆ query

const char* query

query (as string)

◆ query_len

size_t query_len

query lenght

◆ request_payload

oc_rep_t* request_payload

request payload structure

◆ resource

oc_resource_t* resource

resource structure

◆ response

oc_response_t* response

pointer to the response


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