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

Method setWriteTimeout

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

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

302 * @param unit the unit of time
303 */
304 public void setWriteTimeout(long timeout, TimeUnit unit) {
305 this.httpClient.setWriteTimeout(timeout, unit);
306 }
307
308 /**
309 * Sets the proxy information for the HTTP client.

Callers 3

mainMethod · 0.95
mainMethod · 0.95
buildHttpClientMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected