StompBrokerJS
StompBrokerJS copied to clipboard
Validate headers during connect
Hi i am trying to validate a client using headers in the 'connected' event. Could you please let me know to avoid the connection or stop cliebt connecting if validation fails.
Try to return false from the server's this.onClientConnected method! ;)
See https://github.com/4ib3r/StompBrokerJS/blob/master/lib/stomp.js#L57