Class: ILove::Tracing::RequestId::RequestIdFaradayMiddleware
- Inherits:
-
Faraday::Middleware
- Object
- Faraday::Middleware
- ILove::Tracing::RequestId::RequestIdFaradayMiddleware
- Defined in:
- lib/ilove/tracing/request_id.rb
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
37 38 39 40 41 |
# File 'lib/ilove/tracing/request_id.rb', line 37 def call(env) env.request_headers[ILove::Tracing::RequestId.cfg.request_id_header] = ILove::Tracing::RequestId.request_id @app.call(env) end |