amzn / smoke-framework

A light-weight server-side service framework written in the Swift programming language.
Apache License 2.0
1.44k stars 41 forks source link

Add the ability to initialise the context based on the incoming request and the transaction selected #115

Open tachyonics opened 1 year ago

tachyonics commented 1 year ago

Add the ability to initialise the context based on the incoming request and the transaction selected. An application may want to change how the Context is constructed based on-

  1. the coming request (such as the value of particular http headers)
  2. what operation was selected (such as selecting metrics appropriate to that operation)