angular-websocket
angular-websocket copied to clipboard
Accessing the onError headers
Hello,
Thank you for developing this! It's very easy to use and intuitive.
I'm using this library along with https://github.com/theturtle32/WebSocket-Node/blob/d5398c862b3aa460f71f1c77ddd6138d4e722eaf/docs/WebSocketRequest.md. Under the 'reject' section, you'll see that if a connection is rejected, the rejection message is passed along as a 'X-Websocket-Reject-Reason' header. Does angular-websocket provide any ways to access this header?
I'm happy to modify angular-websocket (this is for a demo) if there's an obvious place to insert the code, if that enables me to access the header.
Thank you! Robert