logo
  • 教程列表
  • SO官方文檔
  • OkHttp
    • 基本用法示例
    • 記錄攔截器
    • 設定 OkHttp
    • 重寫回復
    • 同步獲取呼叫
    • 非同步獲取呼叫
    • 釋出表單引數
    • 釋出多部分請求
  1. StackOverflow 文件
  2. Android 教程
  3. OkHttp
  4. 設定 OkHttp

設定 OkHttp

Created: November-22, 2018

通過 Maven 抓住:

<dependency>
  <groupId>com.squareup.okhttp3</groupId>
  <artifactId>okhttp</artifactId>
  <version>3.6.0</version>
</dependency>

或 Gradle:

compile 'com.squareup.okhttp3:okhttp:3.6.0'
  • 重寫回復
  • 記錄攔截器

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明