azure-contrib / node-azure-search

A JavaScript client library for the Azure Search service, which works from either from Node.js or the browser
42 stars 28 forks source link

Adding custom headers on client initialization #35

Closed alonisser closed 6 years ago

alonisser commented 6 years ago

close #34

alonisser commented 6 years ago

thanks @richorama please note that in order to view the actual searchId, I added the raw response as a another return value to POST and in search method (using the post function). added only there because this is the only use case I know about that the header from the request has a meaning in the response. But, I might have got this wrong and this should be added elsewhere also

richorama commented 6 years ago

published as version 0.0.20 on npm.

Thank you for your contribution!