Sha256: eb3345b1d39072732218139d64ad84df97f0693f1f0ea31b293f4d0140d29d73
Contents?: true
Size: 354 Bytes
Versions: 13
Compression:
Stored size: 354 Bytes
Contents
module Faraday module Conductivity class RequestId < Faraday::Middleware def initialize(app) super(app) end def call(env) request_id = Thread.current[:request_id] if request_id env[:request_headers]['X-Request-Id'] ||= request_id end @app.call(env) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems