Skip to content

Retrofit Converter for MessagePack / msgpack.org[Retrofit converter (Java)]

License

Notifications You must be signed in to change notification settings

komamitsu/retrofit-converter-msgpack

Repository files navigation

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

About

Retrofit Converter for MessagePack / msgpack.org[Retrofit converter (Java)]

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages