private HttpResponse<String> siaCommand(SiaCommand command, ImmutableMap<String, Object> params, String... extraCommand) {
try {
final HttpRequest httpRequest = command.unirest(path, extraCommand)
.header("User-Agent", "Sia-Agent")
.queryString(params);
return httpRequest.asString();
} catch (UnirestException e) {
throw new NoConnectException(e);
}
}
SiaUtil.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:minebox
作者:
评论列表
文章目录