example using falcon #1207
Replies: 2 comments 2 replies
-
Falcon is a WSGI framework, so you can use the WSGI middleware provided in this package to integrate it with a Socket.IO application. Quick example: import socketio
from api import app as falcon_app # <-- this is your falcon app
sio = socketio.Server()
app = socketio.WSGIApp(sio, falcon_app) # <-- this is the integrated WSGI app With this, you now run the combined |
Beta Was this translation helpful? Give feedback.
-
Thanks for answering. The problem was when I connected a client, I may have done something wrong. But this message appeared and I don't know if it's related to falcon or socketio. And the requests were extremely slow. I'm starting with gunicorn |
Beta Was this translation helpful? Give feedback.
-
Hello, I already have an api with the falcon framework, now I'm trying to implement a socketio server. Can this be possible?
If anyone can show me a way.
Beta Was this translation helpful? Give feedback.
All reactions