wcf.js icon indicating copy to clipboard operation
wcf.js copied to clipboard

HTTP header

Open vidueirof opened this issue 8 years ago • 1 comments

I need to add an HTTP Authentication header, is this possible? How?

vidueirof avatar Jan 30 '17 22:01 vidueirof

currently you would need to hard code your http headers in the ws.js dependency https://github.com/yaronn/ws.js/blob/master/lib/handlers/client/http.js#L11 or find some otehr way to inject them to requests by the request module.

yaronn avatar Jan 31 '17 05:01 yaronn