meilisearch-java icon indicating copy to clipboard operation
meilisearch-java copied to clipboard

Integration with custom HTTP client and custom json library

Open MWGuy opened this issue 2 years ago • 5 comments

Description

Integration with custom http clients may be helpful if we already has http client in our context, RestTemplate in spring boot for example. This also applies to json serializing/deserializing libraries.

MWGuy avatar Dec 21 '22 18:12 MWGuy

Hi @MWGuy, Thank you for raising this issue ❤️ , and so sorry for the delay.

Integration with custom http clients may be helpful if we already has http client in our context

This was the case before the refactoring of this SDK. However, after the release of v0.27.0 of Meilisearch, the PATCH http method became mandatory to allow some requests, so we decided to propose only the OKHttp client, which is one of the only ones to propose this method natively.

alallema avatar Jan 10 '23 16:01 alallema