Home
last modified time | relevance | path

Searched refs:connectTimeout (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DHttpRequest.cc37 long HttpRequest::connectTimeout() const { return connectTimeout_; } in connectTimeout() function in AlibabaCloud::HttpRequest
41 void HttpRequest::setConnectTimeout(const long connectTimeout) { in setConnectTimeout() argument
42 connectTimeout_ = connectTimeout; in setConnectTimeout()
A DClientConfiguration.cc48 long ClientConfiguration::connectTimeout() const { return connectTimeout_; } in connectTimeout() function in AlibabaCloud::ClientConfiguration
52 void ClientConfiguration::setConnectTimeout(const long connectTimeout) { in setConnectTimeout() argument
53 connectTimeout_ = connectTimeout; in setConnectTimeout()
A DCommonClient.cc151 if (msg.connectTimeout() != kInvalidTimeout) { in buildRoaHttpRequest()
152 request.setConnectTimeout(msg.connectTimeout()); in buildRoaHttpRequest()
154 request.setConnectTimeout(configuration().connectTimeout()); in buildRoaHttpRequest()
297 if (msg.connectTimeout() != kInvalidTimeout) { in buildRpcHttpRequest()
298 request.setConnectTimeout(msg.connectTimeout()); in buildRpcHttpRequest()
300 request.setConnectTimeout(configuration().connectTimeout()); in buildRpcHttpRequest()
A DRpcServiceClient.cc134 if (msg.connectTimeout() != kInvalidTimeout) { in buildHttpRequest()
135 request.setConnectTimeout(msg.connectTimeout()); in buildHttpRequest()
137 request.setConnectTimeout(configuration().connectTimeout()); in buildHttpRequest()
A DServiceRequest.cc167 long ServiceRequest::connectTimeout() const { return connectTimeout_; } in connectTimeout() function in AlibabaCloud::ServiceRequest
171 void ServiceRequest::setConnectTimeout(const long connectTimeout) { in setConnectTimeout() argument
172 connectTimeout_ = connectTimeout; in setConnectTimeout()
A DRoaServiceClient.cc98 if (msg.connectTimeout() != kInvalidTimeout) { in buildHttpRequest()
99 request.setConnectTimeout(msg.connectTimeout()); in buildHttpRequest()
101 request.setConnectTimeout(configuration().connectTimeout()); in buildHttpRequest()
A DCurlHttpClient.cc113 long connect_timeout = request.connectTimeout(); in makeRequest()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/include/alibabacloud/core/
A DHttpRequest.h35 long connectTimeout() const;
37 void setConnectTimeout(const long connectTimeout);
A DClientConfiguration.h41 long connectTimeout() const;
43 void setConnectTimeout(const long connectTimeout);
A DServiceRequest.h45 long connectTimeout() const;
47 void setConnectTimeout(const long connectTimeout);
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Dhttprequest_ut.cc31 EXPECT_TRUE(req.connectTimeout() == 5000); in TEST()
35 EXPECT_TRUE(req.connectTimeout() == 12345); in TEST()
A Dclientconfiguration_ut.cc33 EXPECT_TRUE(config.connectTimeout() == kDefaultConnectTimeout); in TEST()
37 EXPECT_TRUE(config.connectTimeout() == 1222); in TEST()
A Dservicerequest_ut.cc100 EXPECT_TRUE(sr1.connectTimeout() == kInvalidTimeout); in TEST()
104 EXPECT_TRUE(sr1.connectTimeout() == 1234); in TEST()
A Dcurlhttpclient_ut.cc26 TEST(CurlHttpClient, connectTimeout) { in TEST() argument
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/
A DREADME-ENG.md190 …- `connectTimeout`: timeout for the connect phase. [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_…
194 - `connectTimeout`: 5000ms
203 The following code shows hot to specify `timeout` parameters, and the final connectTimeout is 1000m…
A DREADME-CN.md185 * `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).
189 * connectTimeout: 5000ms
/AliOS-Things-master/components/oss/src/http/
A DCurlHttpClient.cc108 … CurlContainer(unsigned maxSize = 16, long requestTimeout = 10000, long connectTimeout = 5000): in CurlContainer() argument
111 connectTimeout_(connectTimeout), in CurlContainer()

Completed in 26 milliseconds