Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.2 KB

Retrofit-Converter-MessagePack

Maven Central Coverage Status

Retrofit Converter for MessagePack

Prerequisites

  • JDK 11 or later

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();