Package com. drake. net. body
Types
NetRequestBody
Link copied to clipboard
class NetRequestBody(body: RequestBody, progressListeners: ConcurrentLinkedQueue<ProgressListener>?) : RequestBody
Content copied to clipboard
NetResponseBody
Link copied to clipboard
class NetResponseBody(body: ResponseBody, progressListeners: ConcurrentLinkedQueue<ProgressListener>?, complete: () -> Unit?) : ResponseBody
Content copied to clipboard
Functions
toNetRequestBody
Link copied to clipboard
fun RequestBody.toNetRequestBody(listeners: ConcurrentLinkedQueue<ProgressListener>? = null): NetRequestBody
Content copied to clipboard
toNetResponseBody
Link copied to clipboard
fun ResponseBody.toNetResponseBody(listeners: ConcurrentLinkedQueue<ProgressListener>? = null, complete: () -> Unit? = null): NetResponseBody
Content copied to clipboard