Loading...
Searching...
No Matches
RestClientCallResponseDataType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace RestClientDataProvider {
class RestClientCallResponseDataType : public HashDataType {
public:
protected:
const Fields = {
"request-headers": {
"type": HashType,
"desc": "A hash of request headers with keys in the original case as sent (ex: `Content-Type`)",
},
"request-serialization": {
"type": StringType,
"desc": "The type of message serialization used for the request",
},
"request-uri": {
"type": StringType,
"desc": "The request URI string sent (ex: `GET /services/async/38.0/job HTTP/1.1`)",
},
"response-body": {
"type": DataOrNothingType,
"desc": "Any message body sent in the response",
},
"response-headers": {
"type": HashType,
"desc": "A hash of processed response headers with keys all converted to lower case letters "
"(ex: `content-type`)",
},
"response-headers-raw": {
"type": HashType,
"desc": "The raw, unprocessed response headers with keys in the original case as received "
"(ex: `Content-Type`)",
},
"response-serialization": {
"type": StringType,
"desc": "The type of message serialization used in the response",
},
"response-uri": {
"type": StringType,
"desc": "The HTTP response URI (ex: `HTTP/1.l 200 OK`)",
},
"status-code": {
"type": IntType,
"desc": "The HTTP status code provided in the response",
},
"status-message": {
"type": StringType,
"desc": "The HTTP status message provided in the response",
},
};
public:
constructor();
};
};
RestClientDataProvider::RestClientCallResponseDataType
Data type for REST call responses.
Definition: RestClientCallResponseDataType.qc.dox.h:27
RestClientDataProvider::RestClientCallResponseDataType::constructor
constructor()
Creates the object.
RestClientDataProvider::RestClientCallResponseDataType::Fields
const Fields
Field descriptions.
Definition: RestClientCallResponseDataType.qc.dox.h:32
RestClientDataProvider
Qore RestClientDataProvider module definition.
Definition: RestClientCallDataProvider.qc.dox.h:26