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

Method setReadTimeout

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

Sets the default read 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

293 * @param unit the unit of time
294 */
295 public void setReadTimeout(long timeout, TimeUnit unit) {
296 this.httpClient.setReadTimeout(timeout, unit);
297 }
298
299 /**
300 * Sets the default write timeout for new connections. A value of 0 means no timeout.

Callers 4

mainMethod · 0.95
mainMethod · 0.95
buildHttpClientMethod · 0.45
mainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected