Skip to content

Instantly share code, notes, and snippets.

William Payne wtpayne

Block or report user

Report or block wtpayne

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wtpayne
wtpayne / flask_geventwebsocket_example.py
Created Jul 6, 2012 — forked from lrvick/flask_geventwebsocket_example.py
Simple Websocket echo client/server with Flask and gevent / gevent-websocket
View flask_geventwebsocket_example.py
from geventwebsocket.handler import WebSocketHandler
from gevent.pywsgi import WSGIServer
from flask import Flask, request, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
You can’t perform that action at this time.