Searched refs:connectTimeout (Results 1 – 17 of 17) sorted by relevance
37 long HttpRequest::connectTimeout() const { return connectTimeout_; } in connectTimeout() function in AlibabaCloud::HttpRequest41 void HttpRequest::setConnectTimeout(const long connectTimeout) { in setConnectTimeout() argument42 connectTimeout_ = connectTimeout; in setConnectTimeout()
48 long ClientConfiguration::connectTimeout() const { return connectTimeout_; } in connectTimeout() function in AlibabaCloud::ClientConfiguration52 void ClientConfiguration::setConnectTimeout(const long connectTimeout) { in setConnectTimeout() argument53 connectTimeout_ = connectTimeout; in setConnectTimeout()
151 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()
134 if (msg.connectTimeout() != kInvalidTimeout) { in buildHttpRequest()135 request.setConnectTimeout(msg.connectTimeout()); in buildHttpRequest()137 request.setConnectTimeout(configuration().connectTimeout()); in buildHttpRequest()
167 long ServiceRequest::connectTimeout() const { return connectTimeout_; } in connectTimeout() function in AlibabaCloud::ServiceRequest171 void ServiceRequest::setConnectTimeout(const long connectTimeout) { in setConnectTimeout() argument172 connectTimeout_ = connectTimeout; in setConnectTimeout()
98 if (msg.connectTimeout() != kInvalidTimeout) { in buildHttpRequest()99 request.setConnectTimeout(msg.connectTimeout()); in buildHttpRequest()101 request.setConnectTimeout(configuration().connectTimeout()); in buildHttpRequest()
113 long connect_timeout = request.connectTimeout(); in makeRequest()
35 long connectTimeout() const;37 void setConnectTimeout(const long connectTimeout);
41 long connectTimeout() const;43 void setConnectTimeout(const long connectTimeout);
45 long connectTimeout() const;47 void setConnectTimeout(const long connectTimeout);
31 EXPECT_TRUE(req.connectTimeout() == 5000); in TEST()35 EXPECT_TRUE(req.connectTimeout() == 12345); in TEST()
33 EXPECT_TRUE(config.connectTimeout() == kDefaultConnectTimeout); in TEST()37 EXPECT_TRUE(config.connectTimeout() == 1222); in TEST()
100 EXPECT_TRUE(sr1.connectTimeout() == kInvalidTimeout); in TEST()104 EXPECT_TRUE(sr1.connectTimeout() == 1234); in TEST()
26 TEST(CurlHttpClient, connectTimeout) { in TEST() argument
190 …- `connectTimeout`: timeout for the connect phase. [Refer](https://curl.haxx.se/libcurl/c/CURLOPT_…194 - `connectTimeout`: 5000ms203 The following code shows hot to specify `timeout` parameters, and the final connectTimeout is 1000m…
185 * `connectTimeout`: 连接超时设置。 [参考](https://curl.haxx.se/libcurl/c/CURLOPT_CONNECTTIMEOUT_MS.html).189 * connectTimeout: 5000ms
108 … CurlContainer(unsigned maxSize = 16, long requestTimeout = 10000, long connectTimeout = 5000): in CurlContainer() argument111 connectTimeout_(connectTimeout), in CurlContainer()
Completed in 26 milliseconds