Flask - WebSocket and Real-Time
Given this Flask polling endpoint code, what will the client receive when requesting '/poll'?
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/poll')
def poll():
data = {'message': 'Hello', 'count': 5}
return jsonify(data)