retrofit-helper
1.1.0
androidJvm
retrofit-helper
/
com.king.retrofit.retrofithelper.body
/
ProgressResponseBody
Progress
Response
Body
open
class
ProgressResponseBody
:
ResponseBody
Author
Jenly
Members
Constructors
Progress
Response
Body
Link copied to clipboard
constructor
(
responseBody
:
ResponseBody
,
progressListeners
:
List
<
ProgressListener
>
,
updateIntervalTime
:
Long
,
handler
:
Handler
)
Functions
bytes
Link copied to clipboard
fun
bytes
(
)
:
Array
<
Byte
>
byte
Stream
Link copied to clipboard
fun
byteStream
(
)
:
InputStream
char
Stream
Link copied to clipboard
fun
charStream
(
)
:
Reader
close
Link copied to clipboard
open
fun
close
(
)
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
)
:
ResponseBody
source
Link copied to clipboard
open
fun
source
(
)
:
BufferedSource
string
Link copied to clipboard
fun
string
(
)
:
String