XDK API  3.6.0
Data Fields
RestClient_ReqInfo_S Struct Reference

#include <SDK/xdk110/Libraries/ServalStack/3rd-party/ServalStack/api/Serval_RestClient.h>

Data Fields

Rest_ContentFormat_T contentFormat
const char * host
Rest_Method_T method
RestClient_MsgReliabilityMode_T msgReliabilityMode
uint8_t numAccept
uint8_t * payload_ptr
RestPayloadLength_t payloadLen
uint16_t rangeLength
uint32_t rangeOffset
char const * uriPath_ptr
char const * uriQuery_ptr

Detailed Description

This data structure holds the data of a REST request.

Field Documentation

Rest_ContentFormat_T* acceptBuffer_ptr

A pointer to an array of content formats, which are acceptable

Rest_ContentFormat_T contentFormat

The content format of the payload

const char* host

symbolic host name

Rest_Method_T method

The method to be used for the request

RestClient_MsgReliabilityMode_T msgReliabilityMode

The reliability mode to be used for the request. In case of HTTP this is ignored.

uint8_t numAccept

The length of the array the acceptBuffer_ptr points to

uint8_t* payload_ptr

A pointer to the payload to be set in the request

RestPayloadLength_t payloadLen

The length of the payload the payload_ptr points to

uint16_t rangeLength

length of data to request (HTTP only)

uint32_t rangeOffset

offset of data to request (HTTP only)

char const* uriPath_ptr

The URI path of the request

char const* uriQuery_ptr

The URI query of the request

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

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:56 by doxygen 1.8.8