A Retrofit converter
implementation using Thrifty for
(de)serialization of Apache Thrift requests and responses.
It supports Binary
and Compact
Thrift protocols.
Add the library as a dependency to your build.gradle
to automatically download it from jcenter.
compile 'co.infinum:retrofit-converter-thrifty:0.9.0'
... and add the converter factory when you create the Retrofit
object.
Retrofit retrofit = new Retrofit.Builder()
.baseUrl("https://your.server.com/api/")
.addConverterFactory(ThriftyConverterFactory.create(ProtocolType.COMPACT))
.build();
We also maintain a changelog.
To deploy a new version to bintray, use deploy.sh
:
./deploy.sh <bintray username> <bintray api key> <artifact version> [optional tag message]
Feedback and code contributions are very much welcome. Just make a pull request with a short description of your changes. By making contributions to this project you give permission for your code to be used under the same license.