B4J Question Web socket server - filter incoming connections

EvgenyB4A

Active Member
Licensed User
Longtime User
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?
 
Top