Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 985 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 985 Bytes

Retrofit-Converter-MessagePack

Coverage Status

Retrofit Converter for MessagePack

Install

Gradle

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

Maven

<dependency>
    <groupId>org.komamitsu</groupId>
    <artifactId>retrofit-converter-msgpack</artifactId>
    <version>1.0.0</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();