toCompletingBody

fun HttpBody.toCompletingBody(deferred: <Error class: unknown class><String>): HttpBody

Convert an HttpBody with an underlying HashingSource or HashingByteReadChannel to a CompletingSource or CompletingByteReadChannel, respectively.