Retrofit for Unity

sp958857

(8)
FREE
Publisher sp958857
File size 884.39kB
Number of files 309
Latest version 2
Latest release date 2018-04-16 05:51:19
First release date 2017-06-06 10:43:22
Supported Unity versions 2018.4.2 or higher

Retrofit for Unity is a plugin that turn your REST / RESTful APIs into interface. Help you to call a request like calling a method

Document


If you are looking for a plugin that help you maintain and use your HTTP APIs gracefully. Retrofit for Unity is a tool out of box for you. There are six built-in methods: GET, POST, PUT, DELETE, PATCH and HEAD.

In version 2.0, Rx(Reactive Extension) support is added to Retrofit4Unity, which help to request asynchronously. For example send request in sub-thread and then handle response and update UI in main-thread.

Retrofit for Unity is just a reformatted code style to request a HTTP API.
It doesn’t send a real HTTP Request in its module, which means you can integrated Retrofit for Unity with different HTTP Plugins or Unity Official UnityWebRequest system.
By default, it provides three integrations to send HTTP request, which are HttpClient, BestHttpImple and UnityWebRequestImpl. And it use HttpClient module as default HTTP module

Top Publisher Assets