Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Support OkHttp #4

Closed
hram opened this issue Mar 4, 2017 · 3 comments
Closed

Support OkHttp #4

hram opened this issue Mar 4, 2017 · 3 comments

Comments

@hram
Copy link

hram commented Mar 4, 2017

Can I using okhttp client?

@hram hram changed the title OkHttp Support OkHttp Mar 4, 2017
@florent37
Copy link
Owner

just implemented it on 1.0.1

final TutosAndroidFrance tutosAndroidFrance = new RetroJsoup.Builder()
                .url("http://tutos-android-france.com/")

                .okHttpClient(your_okhttp_client)

                .build()
                .create(TutosAndroidFrance.class);

@hram
Copy link
Author

hram commented Mar 5, 2017

@florent37 i think method name is to specific.
In future you can add support for others http clients.
For example in retrofit metod for setting http client has name "setClient()"

@florent37
Copy link
Owner

done

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

No branches or pull requests

2 participants