Cronet Transport For Okhttp Versions Save

This package allows OkHttp and Retrofit users to use Cronet as their transport layer, benefiting from features like QUIC/HTTP3 support or connection migration.

release-ed5851e

1 year ago

A precompiled JAR or the library, cut at ed5851e.

To include the library, download the JAR to the libs folder and add the following dependencies to your build.gradle file:

    implementation files('libs/libokhttp_cronet_transport.jar') // this OkHttp - Cronet library
    implementation 'com.squareup.okhttp3:okhttp:CHANGEME' // Transitive dependency - OkHttp. The transport library supports version 3 and above.
    implementation 'com.google.guava:guava:31.1-android' // Transitive dependency - Guava. Any recent version is supported.