retrofit
2.11.0
适用于Android和Java的类型HTTP客户端。
有关更多信息,请参阅网站。
下载最新的罐子或从Maven Central上抓取的坐标com.squareup.retrofit2:retrofit:2.11.0
。
开发版本的快照可在Sonatype的snapshots
存储库中获得。
改装需要最小Java 8+或Android API 21+。
如果您使用的是R8,则自动包含收缩和混淆规则。
Proguard用户必须手动添加RetRofit2.pro中的选项。您可能还需要OKHTTP的规则,这是该库的依赖性。
Copyright 2013 Square, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.