io.everitoken.sdk.java.apiResource.ApiRequestConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chain-sdk Show documentation
Show all versions of chain-sdk Show documentation
Official Java SDK for everiToken public chain. https://www.everitoken.io
package io.everitoken.sdk.java.apiResource;
public class ApiRequestConfig {
public static int DEFAULT_TIMEOUT = 15 * 1000;
private int timeout;
public ApiRequestConfig(int timeout) {
this.timeout = timeout;
}
public ApiRequestConfig() {
this(DEFAULT_TIMEOUT);
}
public static ApiRequestConfig of(int timeout) {
return new ApiRequestConfig(timeout);
}
public int getTimeout() {
return timeout;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy