cronet-transport-for-okhttp
okhttp-eventsource
cronet-transport-for-okhttp | okhttp-eventsource | |
---|---|---|
2 | 1 | |
396 | 130 | |
3.5% | 0.8% | |
3.8 | 3.5 | |
3 months ago | 4 months ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cronet-transport-for-okhttp
-
How to use Cronet Engine for API calls? Any simple repo for it to understand?
Use Retrofit or anything else that builds on OkHttp. If you do end up needing some features that Cronet supports but OkHttp doesn't (such as HTTP/3), just write an interceptor or use google/cronet-transport-for-okhttp.
- HTTP/3 Transport for OkHttp and Retrofit
okhttp-eventsource
-
Hazelcast + Kibana: best buddies for exploring and visualizing data
Wikipedia provides changes through Server-Sent Events. In short, with SSE, you register a client to the endpoint, and every time new data comes in, you are notified and can act accordingly. On the JVM, a couple of SSE-compatible clients are available, including Spring WebClient. Instead, I chose to use OkHttp EventSource because it's lightweight - it only depends on OkHttp, and its usage is relatively straightforward.
What are some alternatives?
AndroidNetworking - 🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
JavaGuide - 「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide!
java-specialagent - Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
lingua - The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike
Retromock - Java library for mocking responses in a Retrofit service.
Design Patterns - Design patterns implemented in Java
OkHttp - Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
wikipedia-changes - Repository for the post and talk "Hazelcast + Kibana: best buddies for exploring and visualizing data"
sentry-java - A Sentry SDK for Java, Android and other JVM languages.
Fetch - The best file downloader library for Android