Loading...
Searching...
No Matches
HttpClientCallResponseDataType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace HttpClientDataProvider {
class HttpClientCallResponseDataType : 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-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-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();
};
};
HttpClientDataProvider::HttpClientCallResponseDataType
Data type for HTTP call responses.
Definition: HttpClientCallResponseDataType.qc.dox.h:27
HttpClientDataProvider::HttpClientCallResponseDataType::constructor
constructor()
Creates the object.
HttpClientDataProvider::HttpClientCallResponseDataType::Fields
const Fields
Field descriptions.
Definition: HttpClientCallResponseDataType.qc.dox.h:32
HttpClientDataProvider
Qore HttpClientDataProvider module definition.
Definition: HttpClientCallDataProvider.qc.dox.h:26