I am new to Rust and I couldn't figure out how to access the request headers in a Graphql request.
I read the async-graphql docs, where Context is used to set the headers in the response but there is no function to get the request headers. It's would be great if you could show me how to do this. I am using async-graphql with poem.
I am new to Rust and I couldn't figure out how to access the request headers in a Graphql request. I read the async-graphql docs, where Context is used to set the headers in the response but there is no function to get the request headers. It's would be great if you could show me how to do this. I am using async-graphql with poem.