akka / akka-grpc

Akka gRPC
https://doc.akka.io/docs/akka-grpc/
Other
432 stars 123 forks source link

Provide access to akka-http request/response attributes #1961

Closed jroper closed 2 months ago

jroper commented 2 months ago

Fixes #859

This adds an attribute/getAttribute method to Metadata, and connects it to the underlying request/response that the metadata has been sourced from.

I haven't implemented passing attributes on from user created metadata, I'm not sure if there's a use case for that.