RxDownload icon indicating copy to clipboard operation
RxDownload copied to clipboard

how to change request in rxdownload

Open eldorado opened this issue 2 years ago • 2 comments

hi friends. i want to handle timeout (connection timeout and read timeout) in RxDownload. how should i do this? there is only a timeout which does not specify what kind of timeout it is (no connection timeout or read timeout or write timeout) if i must change the okhttpClient , how should i do this in kotlin?

eldorado avatar Feb 09 '23 07:02 eldorado

you can custom your own requestimpl to handle it: image

ssseasonnn avatar Feb 10 '23 01:02 ssseasonnn

thanks. but i don't know how should i do this? how create a RequestImpl? and how set okhttpClient in this request?

eldorado avatar Feb 10 '23 13:02 eldorado