We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 011d754 commit 202d136Copy full SHA for 202d136
lib/ldclient-rb/config.rb
@@ -145,7 +145,7 @@ def offline?
145
attr_reader :feature_store
146
147
148
- # The proxy configuration
+ # The proxy configuration string
149
#
150
attr_reader :proxy
151
lib/ldclient-rb/stream.rb
@@ -33,7 +33,7 @@ def start
33
'Authorization' => @sdk_key,
34
'User-Agent' => 'RubyClient/' + LaunchDarkly::VERSION
35
}
36
- opts = {:headers => headers, :with_credentials => true}
+ opts = {:headers => headers, :with_credentials => true, :proxy => @config.proxy}
37
@es = Celluloid::EventSource.new(@config.stream_uri + "/flags", opts) do |conn|
38
conn.on(PUT) { |message| process_message(message, PUT) }
39
conn.on(PATCH) { |message| process_message(message, PATCH) }
0 commit comments