View Single Post
Kinsi
Senior Member
Join Date: Apr 2013
Old 02-21-2017 , 13:17   Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Reply With Quote #53

Is it somehow possible to get connection parameters (ws://host:port/path/?parameters...), and reject / "force-disconnect" clients to kinda implement authorization?

Edit: looks like, force-closing is possible but theres no built-in way to get the request path. Ill add that in and propose a PR

Edit2: took me way too long to find out it's easy to add but the PR's there now https://github.com/peace-maker/sm-websocket/pull/4

Last edited by Kinsi; 02-21-2017 at 21:25.
Kinsi is offline