Guest User

Untitled

a guest
Nov 20th, 2018
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # HACK G
  2. from gevent import pywsgi
  3. from geventwebsocket.handler import WebSocketHandler
  4. server = pywsgi.WSGIServer(('', 5000), app,
  5. handler_class=WebSocketHandler)
  6. server.serve_forever()
RAW Paste Data