retrofit-helper
1.1.0
androidJvm
retrofit-helper
/
com.king.retrofit.retrofithelper.body
/
ProgressRequestBody
Progress
Request
Body
open
class
ProgressRequestBody
:
RequestBody
Author
Jenly
Members
Constructors
Progress
Request
Body
Link copied to clipboard
constructor
(
requestBody
:
RequestBody
,
progressListeners
:
List
<
ProgressListener
>
,
updateIntervalTime
:
Long
,
handler
:
Handler
)
Functions
content
Length
Link copied to clipboard
open
fun
contentLength
(
)
:
Long
content
Type
Link copied to clipboard
open
fun
contentType
(
)
:
MediaType
create
Link copied to clipboard
open
fun
create
(
contentType
:
MediaType
,
content
:
String
)
:
RequestBody
is
Duplex
Link copied to clipboard
open
fun
isDuplex
(
)
:
Boolean
is
One
Shot
Link copied to clipboard
open
fun
isOneShot
(
)
:
Boolean
write
To
Link copied to clipboard
open
fun
writeTo
(
sink
:
BufferedSink
)