Retrofit Converter for MessagePack / msgpack.org[Retrofit converter (Java)]
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3e78a2f Jun 17, 2018

README.md

Retrofit-Converter-MessagePack

Maven Central Coverage Status

Retrofit Converter for MessagePack

Install

Gradle

dependencies {
    implementation 'org.komamitsu:retrofit-converter-msgpack:x.x.x'
}

Maven

<dependency>
    <groupId>org.komamitsu</groupId>
    <artifactId>retrofit-converter-msgpack</artifactId>
    <version>x.x.x</version>
</dependency>

Usage

To use, supply an instance of this converter when building your Retrofit instance.

Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("https://api.example.com")
    .addConverterFactory(MessagePackConverterFactory.create())
    .build();