pyropy / fastapi-socketio

Easily integrate socket.io with your FastAPI app 🚀
Apache License 2.0
328 stars 31 forks source link

Allow use of default socketio Server #17

Open TheJedinator opened 3 years ago

TheJedinator commented 3 years ago

It may be desired (as in my case) to not use the AsyncServer, could allow an argument in the constructor to choose which server type to use.

adamlwgriffiths commented 2 years ago

If you look at the amount of code in this library, it really amounts to about 4 lines of code. It would be more pragmatic to just modify the file to what you want.