//okhttp/okhttp3/ResponseBody/Companion/asResponseBody
asResponseBody¶
[common]\ expect fun BufferedSource.asResponseBody(contentType: MediaType? = null, contentLength: Long = -1L): ResponseBody
Returns a new response body that transmits this source.
[jvm, nonJvm]\ [jvm]\
@JvmName(name = "create")
actual fun BufferedSource.asResponseBody(contentType: MediaType?, contentLength: Long): ResponseBody
[nonJvm]\ actual fun BufferedSource.asResponseBody(contentType: MediaType?, contentLength: Long): ResponseBody