Home
last modified time | relevance | path

Searched refs:CommonRequest (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DCommonRequest.cc21 CommonRequest::CommonRequest(RequestPattern pattern) in CommonRequest() function in AlibabaCloud::CommonRequest
25 CommonRequest::~CommonRequest() {} in ~CommonRequest()
27 std::string CommonRequest::domain() const { return domain_; } in domain()
31 CommonRequest::RequestPattern CommonRequest::requestPattern() const { in requestPattern()
35 void CommonRequest::setRequestPattern(RequestPattern pattern) { in setRequestPattern()
39 void CommonRequest::setHttpMethod(HttpRequest::Method method) { in setHttpMethod()
45 CommonRequest::ParameterValueType
46 CommonRequest::queryParameter(const ParameterNameType &name) const { in queryParameter()
54 CommonRequest::ParameterCollection CommonRequest::queryParameters() const { in queryParameters()
63 CommonRequest::ParameterValueType
[all …]
A DCommonClient.cc61 CommonClient::makeRequest(const std::string &endpoint, const CommonRequest &msg, in makeRequest()
72 CommonClient::commonResponse(const CommonRequest &request) const { in commonResponse()
81 const CommonRequest &request, const CommonResponseAsyncHandler &handler, in commonResponseAsync()
91 CommonClient::commonResponseCallable(const CommonRequest &request) const { in commonResponseCallable()
102 …return buildHttpRequest(endpoint, static_cast<const CommonRequest &>(msg), //lk change dynamic_cas… in buildHttpRequest()
107 const CommonRequest &msg, in buildHttpRequest()
109 if (msg.requestPattern() == CommonRequest::RpcPattern) in buildHttpRequest()
117 const CommonRequest &msg, in buildRoaHttpRequest()
230 const CommonRequest &msg, in buildRpcHttpRequest()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/include/alibabacloud/core/
A DCommonClient.h36 typedef std::function<void(const CommonClient *, const CommonRequest &,
51 CommonResponseOutcome commonResponse(const CommonRequest &request) const;
53 const CommonRequest &request, const CommonResponseAsyncHandler &handler,
56 commonResponseCallable(const CommonRequest &request) const;
63 const CommonRequest &msg,
66 const CommonRequest &msg,
69 const CommonRequest &msg,
72 makeRequest(const std::string &endpoint, const CommonRequest &msg,
A DCommonRequest.h26 class ALIBABACLOUD_CORE_EXPORT CommonRequest : public ServiceRequest {
30 explicit CommonRequest(RequestPattern pattern = RpcPattern);
31 ~CommonRequest();
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/nlp/
A Dnlp_wordsegment_ft.cc23 CommonRequest request(CommonRequest::RoaPattern); in TEST()
49 CommonRequest request(CommonRequest::RoaPattern); in TEST()
75 CommonRequest request(CommonRequest::RoaPattern); in TEST()
102 CommonRequest request(CommonRequest::RoaPattern); in TEST()
131 CommonRequest request(CommonRequest::RoaPattern); in TEST()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Dcommonrequest_ut.cc7 TEST(CommonRequest, basic) { in TEST() argument
8 CommonRequest cr; in TEST()
14 cr.setRequestPattern(CommonRequest::RequestPattern::RpcPattern); in TEST()
17 EXPECT_TRUE(cr.requestPattern() == CommonRequest::RequestPattern::RpcPattern); in TEST()
A Dtimeout_ut.cc39 CommonRequest request(CommonRequest::RoaPattern); in TEST()
50 CommonRequest request(CommonRequest::RpcPattern); in TEST()
65 CommonRequest request(CommonRequest::RoaPattern); in TEST()
79 CommonRequest request(CommonRequest::RpcPattern); in TEST()
91 CommonRequest request(CommonRequest::RoaPattern); in TEST()
105 CommonRequest request(CommonRequest::RpcPattern); in TEST()
121 CommonRequest request(CommonRequest::RoaPattern); in TEST()
137 CommonRequest request(CommonRequest::RpcPattern); in TEST()
A Dcommonclient_ut.cc54 CommonRequest cr; in TEST()
73 cr.setRequestPattern(CommonRequest::RequestPattern::RoaPattern); in TEST()
92 cr.setRequestPattern(CommonRequest::RequestPattern::RpcPattern); in TEST()
170 CommonRequest cr; in TEST()
184 CommonRequest req; in TEST()
207 const CommonRequest &req, in cb()
225 CommonRequest cr; in TEST()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/examples/nlp/
A Dnlp.cc21 CommonRequest request(CommonRequest::RoaPattern); in main()
/AliOS-Things-master/components/ucloud_ai/src/model/
A Dchatbot.cc27 CommonRequest request(CommonRequest::RpcPattern); in chatbot()
A Dcommon.cc83 CommonRequest request(CommonRequest::RpcPattern); in getTokenId()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/examples/imagesearch/
A Dimagesearch.cc164 CommonRequest request(CommonRequest::RoaPattern); in main()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/
A DCMakeLists.txt33 include/alibabacloud/core/CommonRequest.h
92 src/CommonRequest.cc

Completed in 13 milliseconds