Qore RestClientDataProvider Module Reference 1.1
Loading...
Searching...
No Matches
RestClientCallResponseDataType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
2
25namespace RestClientDataProvider {
27class RestClientCallResponseDataType : public HashDataType {
28
29public:
30protected:
32 const Fields = {
33 "request-headers": {
34 "type": HashType,
35 "desc": "A hash of request headers with keys in the original case as sent (ex: `Content-Type`)",
36 },
37 "request-serialization": {
38 "type": StringType,
39 "desc": "The type of message serialization used for the request",
40 },
41 "request-uri": {
42 "type": StringType,
43 "desc": "The request URI string sent (ex: `GET /services/async/38.0/job HTTP/1.1`)",
44 },
45 "response-body": {
46 "type": DataOrNothingType,
47 "desc": "Any message body sent in the response",
48 },
49 "response-headers": {
50 "type": HashType,
51 "desc": "A hash of processed response headers with keys all converted to lower case letters "
52 "(ex: `content-type`)",
53 },
54 "response-headers-raw": {
55 "type": HashType,
56 "desc": "The raw, unprocessed response headers with keys in the original case as received "
57 "(ex: `Content-Type`)",
58 },
59 "response-serialization": {
60 "type": StringType,
61 "desc": "The type of message serialization used in the response",
62 },
63 "response-uri": {
64 "type": StringType,
65 "desc": "The HTTP response URI (ex: `HTTP/1.l 200 OK`)",
66 },
67 "status-code": {
68 "type": IntType,
69 "desc": "The HTTP status code provided in the response",
70 },
71 "status-message": {
72 "type": StringType,
73 "desc": "The HTTP status message provided in the response",
74 },
75 };
76
77public:
78
81
82};
83};
Data type for REST call responses.
Definition: RestClientCallResponseDataType.qc.dox.h:27
const Fields
Field descriptions.
Definition: RestClientCallResponseDataType.qc.dox.h:32
Qore RestClientDataProvider module definition.
Definition: RestClientCallDataProvider.qc.dox.h:26