mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
Support passing options in Faraday Adapter
The options are passed on to the created Session
This commit is contained in:
parent
0149317761
commit
6e52640bd5
@ -200,9 +200,9 @@ module Faraday
|
||||
end
|
||||
end
|
||||
|
||||
def initialize(app)
|
||||
def initialize(app, options={})
|
||||
super(app)
|
||||
@session = Session.new
|
||||
@session = Session.new(options)
|
||||
end
|
||||
|
||||
def call(env)
|
||||
|
Loading…
x
Reference in New Issue
Block a user