Qore RestClientDataProvider Module Reference  1.0
RestClientCallWithMethodRequestDataType.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2 
25 namespace RestClientDataProvider {
27 class RestClientCallWithMethodRequestDataType : public HashDataType {
28 
29 public:
30 protected:
32  const Fields = {
33  "method": {
34  "type": StringType,
35  "desc": "The REST method to use",
36  "required": True,
37  },
38  "body": {
39  "type": DataOrNothingType,
40  "desc": "The message body",
41  },
42  "path": {
43  "type": StringType,
44  "desc": "The URI path",
45  },
46  "hdr": {
47  "type": AutoHashOrNothingType,
48  "desc": "Any headers to include in the request",
49  },
50  };
51 
52 public:
53 
56 
57 };
58 };
Data type for REST client call requests with a specific method.
Definition: RestClientCallWithMethodRequestDataType.qc.dox.h:27
const Fields
Field descriptions.
Definition: RestClientCallWithMethodRequestDataType.qc.dox.h:32
const True
Qore RestClientDataProvider module definition.
Definition: RestClientCallDataProvider.qc.dox.h:26