Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added support for SSL options to EM Synchrony adapter

  • Loading branch information...
commit a302f8e734497cf206a9489f4ef00428983623a8 1 parent 1507503
@linden-deploy linden-deploy authored sferik committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/faraday/adapter/em_synchrony.rb
View
3  lib/faraday/adapter/em_synchrony.rb
@@ -26,7 +26,8 @@ def call(env)
process_body_for_request(env)
request = EventMachine::HttpRequest.new(URI::parse(env[:url].to_s))
options = {:head => env[:request_headers]}
-
+ options[:ssl] = env[:ssl] if env[:ssl]
+
if env[:body]
if env[:body].respond_to? :read
options[:body] = env[:body].read
Please sign in to comment.
Something went wrong with that request. Please try again.