net / com.drake.net.response / okhttp3.Response
Name | Summary |
---|---|
file | 下载到指定文件fun Response.file(): File ? |
fileName | 按照以下顺序返回最终的下载文件的名称fun Response.fileName(): String |
logString | 响应日志信息 只会输出JSON(application/json)和文本(text/*)字符串日志fun Response.logString(byteCount: Long = 1024 * 1024 * 4): String ? |