- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for commonToRequestBody (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt
fun ByteString.commonToRequestBody(contentType: MediaType?): RequestBody { return object : RequestBody() { override fun contentType() = contentType override fun contentLength() = size.toLong() override fun writeTo(sink: BufferedSink) { sink.write(this@commonToRequestBody) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
import java.io.IOException import okhttp3.internal.chooseCharset import okhttp3.internal.commonContentLength import okhttp3.internal.commonIsDuplex import okhttp3.internal.commonIsOneShot import okhttp3.internal.commonToRequestBody import okio.BufferedSink import okio.ByteString import okio.FileSystem import okio.GzipSink import okio.Path import okio.buffer import okio.source abstract class RequestBody {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0)