I need to filter incoming connections to my websocket server according to url string and specific header info.
I use wildcard - srvr.AddWebSocket("/push/*", "PushB4A")
The questions are:
1. How to get full url of the client is trying to connect to server?
2. How to get the headers info from this clients?
I use wildcard - srvr.AddWebSocket("/push/*", "PushB4A")
The questions are:
1. How to get full url of the client is trying to connect to server?
2. How to get the headers info from this clients?