Skip to content

kinta-lib / com.dailymotion.kinta.helper / ProgressRequestBody

ProgressRequestBody

open class ProgressRequestBody : RequestBody

Types

Name Summary
CountingSink inner class CountingSink : ForwardingSink
Listener interface Listener

Constructors

Name Summary
<init> ProgressRequestBody(delegate: RequestBody, listener: Listener)

Properties

Name Summary
mListener var mListener: Listener

Functions

Name Summary
contentLength open fun contentLength():Long
contentType open fun contentType(): MediaType
writeTo open fun writeTo(sink: BufferedSink):Unit