-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Description
The ability to set custom headers on Meilisearch\Http\Client requests would be a useful feature.
Basic example
I want to set the X-MS-USER-ID HTTP header, which can be used to identify the user making the request to Meilisearch Cloud endpoint with Analytics enabled.
Other
There are several ways of doing this. I think a solution without modifying interfaces in meilisearch-php (to preserve BC) would be to allow configuration of meilisearch.client service's http client and/or request factory parameters. I could always override meilisearch.client service but what do you think about adding parameters instead?
Metadata
Metadata
Assignees
Labels
No labels