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 use cronet-okhttp instead of okhttp as the client request library in spring boot? #35

Open
zoujiaqing opened this issue Apr 23, 2024 · 1 comment

Comments

@zoujiaqing
Copy link

As shown in the question.

My server only support HTTP/3 protocol.

How to use cronet-okhttp as RestClient or RestTemplate client library?

@aymanm419
Copy link

If I understand correctly, Spring in general is used to develop micro-services and REST api which are usually run on machines rather than mobile devices. Cronet only supports running on Android devices which makes the spring-boot point irrelevant.

You can follow the documentation in the front-page to setup Cronet-over-Okhttp for your client app. Let me know if you need any more help

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