Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change request in rxdownload #356

Open
eldorado opened this issue Feb 9, 2023 · 2 comments
Open

how to change request in rxdownload #356

eldorado opened this issue Feb 9, 2023 · 2 comments

Comments

@eldorado
Copy link

eldorado commented Feb 9, 2023

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?

@ssseasonnn
Copy link
Owner

you can custom your own requestimpl to handle it:
image

@eldorado
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants