Tizen RT Public API  v1.1 D4
_st_things_get_request_message Struct Reference

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...
 

Detailed Description

Structure for representing the Get Request Message.

Since
Tizen RT v1.1

Definition at line 305 of file st_things_types.h.

Field Documentation

◆ get_query_value

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.

Parameters
[in]req_msgInstance of get request message.
[in]keyName of the query.(ex: key1, key2, etc)
[out]valueValue of the query.(value1, value2, etc)
Returns
true if query exist, otherwise false
Since
Tizen RT v1.1

Definition at line 318 of file st_things_types.h.

◆ has_property_key

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.

Parameters
[in]req_msgInstance of get request message.
[in]keyName of the property.
Returns
true if the property key exists, otherwise false
Since
Tizen RT v1.1

Definition at line 327 of file st_things_types.h.

◆ property_key

char* property_key

One or more property key that application needs to set a value for response. Ex: key1;key2;...

Definition at line 308 of file st_things_types.h.

◆ query

char* query

One or more query parameters of the request message. Ex: key1=value1;key2=value2;...

Definition at line 307 of file st_things_types.h.

◆ resource_uri

char* resource_uri

Resource URI

Definition at line 306 of file st_things_types.h.


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