Is it possible to use Depends from fastapi with this? #898
Unanswered
chase-lewis-akasa
asked this question in
Q&A
Replies: 1 comment
-
This package integrates with web frameworks only at the WSGI/ASGI layer. There is a third-party integration package for FastAPI that you may want to research: https://github.com/pyropy/fastapi-socketio. I know nothing about it, though, please ask questions about this package to the author. In any case, accessing the headers of the Socket.IO connection request is possible, and is explained in the documentation. The headers received in the Socket.IO connection are sent to you in the connection handler, in an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to access headers via FastAPI using this library. I can tell the headers ARE being sent by looking at the request. I just don't really see how i can hook this up to that system.
Beta Was this translation helpful? Give feedback.
All reactions