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.