MCPcopy Index your code
hub / github.com/chain/Core / setConnectTimeout

Method setConnectTimeout

sdk/java/src/main/java/com/chain/http/Client.java:286–288  ·  view source on GitHub ↗

Sets the default connect timeout for new connections. A value of 0 means no timeout. @param timeout the number of time units for the default timeout @param unit the unit of time

(long timeout, TimeUnit unit)

Source from the content-addressed store, hash-verified

284 * @param unit the unit of time
285 */
286 public void setConnectTimeout(long timeout, TimeUnit unit) {
287 this.httpClient.setConnectTimeout(timeout, unit);
288 }
289
290 /**
291 * Sets the default read timeout for new connections. A value of 0 means no timeout.

Callers 3

mainMethod · 0.95
mainMethod · 0.95
buildHttpClientMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected