Aurora:异步,易于使用的HTTP客户端

时间:2024-06-09 08:41:29
【文件属性】:

文件名称:Aurora:异步,易于使用的HTTP客户端

文件大小:10KB

文件格式:ZIP

更新时间:2024-06-09 08:41:29

Java

极光 异步,易于使用的HTTP客户端 HttpClient client = new HttpClientBuilder () .url( " https://api.mojang.com/users/profiles/minecraft/ " + name) .method( RequestType . GET ) .agent( " Aurora HttpClient v0.1 " ) . build(); HttpResponse response = client . execute(); InputStream stream = response . getInputStream(); byte [] responseBytes = response . asByteArray


【文件预览】:
Aurora-master
----pom.xml(1KB)
----src()
--------main()
----README.md(538B)

网友评论