$darkmode
Qore HttpClientDataProvider Module Reference 1.1
HttpClientCallResponseDataType.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2 
25 namespace HttpClientDataProvider {
27 class HttpClientCallResponseDataType : public HashDataType {
28 
29 public:
30 protected:
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-uri": {
38  "type": StringType,
39  "desc": "The request URI string sent (ex: `GET /services/async/38.0/job HTTP/1.1`)",
40  },
41  "response-body": {
42  "type": DataOrNothingType,
43  "desc": "Any message body sent in the response",
44  },
45  "response-headers": {
46  "type": HashType,
47  "desc": "A hash of processed response headers with keys all converted to lower case letters "
48  "(ex: `content-type`)",
49  },
50  "response-headers-raw": {
51  "type": HashType,
52  "desc": "The raw, unprocessed response headers with keys in the original case as received "
53  "(ex: `Content-Type`)",
54  },
55  "response-uri": {
56  "type": StringType,
57  "desc": "The HTTP response URI (ex: `HTTP/1.l 200 OK`)",
58  },
59  "status-code": {
60  "type": IntType,
61  "desc": "The HTTP status code provided in the response",
62  },
63  "status-message": {
64  "type": StringType,
65  "desc": "The HTTP status message provided in the response",
66  },
67  };
68 
69 public:
70 
73 
74 };
75 };
Data type for HTTP call responses.
Definition: HttpClientCallResponseDataType.qc.dox.h:27
const Fields
Field descriptions.
Definition: HttpClientCallResponseDataType.qc.dox.h:32
Qore HttpClientDataProvider module definition.
Definition: HttpClientCallDataProvider.qc.dox.h:26