FastAPI has a simple mechanism for accessing client information from the Request object. It looks like this information is stored in ASGIConnection in Starlite, but it's not clear to me how to access this object from a HTTP handler from the documentation, only middleware.
If this is easily done can an example be added to the documentation? Let me know if I'm missing something simple.
FastAPI has a simple mechanism for accessing client information from the
Requestobject. It looks like this information is stored inASGIConnectionin Starlite, but it's not clear to me how to access this object from a HTTP handler from the documentation, only middleware.If this is easily done can an example be added to the documentation? Let me know if I'm missing something simple.