Cronet is the Chromium network stack made available to Android apps as a library. Cronet takes advantage of multiple technologies that reduce the latency and increase the throughput of the network requests that your app needs to work.
- Protocol support
- Cronet natively supports the HTTP, HTTP/2, and QUIC protocols.
- Request prioritization
- The library allows you to set a priority tag for the requests. The server can use the priority tag to determine the order in which to handle the requests.
- Resource caching
- Cronet can use an in-memory or disk cache to store resources retrieved in network requests. Subsequent requests are served from the cache automatically.
- Asynchronous requests
- Network requests issued using the Cronet Library are asynchronous by default. Your worker threads aren't blocked while waiting for the request to come back.
- Data compression
- Cronet supports data compression using the Brotli Compressed Data Format.
You can send feedback about the Cronet Library using the Chromium Issue Tracker. Check the list of bugs in the issue tracker to make sure that your issue hasn't already been reported. If your issue hasn't been reported, file a bug with the word Cronet in the summary line.