HTTP headers, Query Params

Hay there! I have a question. I want to find a way to send a custom header from algolia instancesearch. how can I do this? thanks in advance!