Top Level Namespace

Defined Under Namespace

Modules: ActiveSupport, Parse, ParseStack Classes: Array, Date, DateTime, Hash, String, Symbol, Time

Constant Summary collapse

NET_HTTP_PERSISTENT_AVAILABLE =

Attempt to load the persistent connection adapter for better performance. Falls back gracefully to the default adapter if not available.

begin
  require "faraday/net_http_persistent"
  true
rescue LoadError
  warn "[parse-stack] faraday-net_http_persistent gem not available. " \
       "Using standard Net::HTTP adapter. For better performance, add " \
       "'faraday-net_http_persistent' to your Gemfile."
  false
end