Capture client request with request.state #2196
Replies: 1 comment
-
Can you show me something analogous from other frameworks? |
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
-
I'm using FastAPI and want to store the client request during the user session. I know this can be achieved with an authentication framework. Is it possible to use request.state (https://www.starlette.io/requests/#other-state) to capture the request? If so, is there an example? Thanks
Beta Was this translation helpful? Give feedback.
All reactions