Hi,
How is the correct way to add a default middleware to all faraday client instances?
Example:
My middleware:
class MyMiddlware < Faraday::Middleware
def call ...
end
My clients:
conn1 = Faraday.new(url)
conn2 = Faraday.new(url)
I expected that all my clients (conn1, conn2) use MyMiddlware as default.
Hi,
How is the correct way to add a default middleware to all faraday client instances?
Example:
My middleware:
My clients:
I expected that all my clients (conn1, conn2) use MyMiddlware as default.