net / com.drake.net.body / NetRequestBody
class NetRequestBody : RequestBody
Name | Summary |
---|---|
<init> | NetRequestBody(requestBody: RequestBody, progressListeners: ConcurrentLinkedQueue < ProgressListener >? = null) |
Name | Summary |
---|---|
contentLength | val contentLength: <ERROR CLASS> |
Name | Summary |
---|---|
contentLength | fun contentLength(): Long |
contentType | fun contentType(): MediaType? |
peekString | 复制一段指定长度的字符串内容fun peekString(byteCount: Long = 1024 * 1024, discard: Boolean = false): String |
writeTo | fun writeTo(sink: BufferedSink): Unit |