

def mode_input(self, request):
    '\n        This is called by render_POST when the client\n        is sending data to the server.\n\n        Args:\n            request (Request): Incoming request.\n\n        '
    suid = request.args.get('suid', ['0'])[0]
    if (suid == '0'):
        return ''
    sess = self.sessionhandler.session_from_suid(suid)
    if sess:
        sess = sess[0]
        text = request.args.get('msg', [''])[0]
        data = self.args.get('data', [None])[0]
        sess.sessionhandler.data_in(sess, text, data=data)
    return ''

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/webclient.py WebClient.mode_input/VarMisuse@88/165 `request`->`self`