akka / akka-grpc

A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.
https://doc.akka.io/libraries/akka-grpc/current/
Other
431 stars 124 forks source link

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

Closed jroper closed 3 months ago

jroper commented 4 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.