meilisearch-js
meilisearch-js copied to clipboard
Provide the possibility of adding requestOptions on any method performing a HTTP request
Currently, as per #1461 it is now possible to provide a custom httpClient and requestOptions when instanciating your Client.
See example: https://github.com/meilisearch/meilisearch-js/blob/870f0f5aa737c19578fa786ca2280bd0d0e1d8fa/tests/client.test.ts#L52-L66
Ideally, we would like to be able to provide the requestOptions on any method that ultimately performs an HTTP call.
See example with algoliasearch