How would you implement a server endpoint?
For example, client would connect to ws://localhost:8080/myendpoint, instead of just ws://localhost:8080.
I assumed I'd have to implement this function myself inside onSessionConnected, but the Session object doesn't seem to provide any information on the client's request, I was hoping to be able to get the request's path/endpoint/query etc...
How can this be done?
Thank you.