TizenRT Public API
v2.0 M2
|
Structure for representing the Get Request Message. More...
#include <st_things_types.h>
Data Fields | |
char * | resource_uri |
char * | query |
char * | property_key |
bool(* | get_query_value )(struct _st_things_get_request_message *req_msg, const char *key, char **value) |
API for getting the value of a specific query from the query parameters of the request. More... | |
bool(* | has_property_key )(struct _st_things_get_request_message *req_msg, const char *key) |
API for checking whether the request has a specific property key or not. More... | |
Structure for representing the Get Request Message.
Definition at line 345 of file st_things_types.h.
bool(* get_query_value) (struct _st_things_get_request_message *req_msg, const char *key, char **value) |
API for getting the value of a specific query from the query parameters of the request.
#include <st_things/st_things_types.h>
[in] | req_msg | Instance of get request message. |
[in] | key | Name of the query.(ex: key1, key2, etc) |
[out] | value | Value of the query.(value1, value2, etc) |
true
if query exist, otherwise false
Definition at line 360 of file st_things_types.h.
bool(* has_property_key) (struct _st_things_get_request_message *req_msg, const char *key) |
API for checking whether the request has a specific property key or not.
#include <st_things/st_things_types.h>
[in] | req_msg | Instance of get request message. |
[in] | key | Name of the property. |
true
if the property key exists, otherwise false
Definition at line 371 of file st_things_types.h.
char* property_key |
One or more property key that application needs to set a value for response. Ex: key1;key2;...
Definition at line 348 of file st_things_types.h.
char* query |
One or more query parameters of the request message. Ex: key1=value1;key2=value2;...
Definition at line 347 of file st_things_types.h.
char* resource_uri |
Resource URI
Definition at line 346 of file st_things_types.h.