Added validationMade() to websocket protocol, to be able to parse the

incoming host information at connection (for getting the browser
session id directly from the path as ws://.../?csessid).
This commit is contained in:
Griatch 2016-05-31 15:36:48 +02:00
parent a39d52dd7e
commit 81170b69d0
2 changed files with 11 additions and 3 deletions

View file

@ -537,6 +537,7 @@ class WebSocketProtocol(ProtocolWrapper):
log.msg("Can't support protocol version %s!" % version)
return False
self.validationMade() # custom Evennia addition
return True
def dataReceived(self, data):