= private = protected
protocol()
Return ‘https://’ if this is an SSL request and ‘http://’ otherwise.
# File actionpack/lib/action_controller/request.rb, line 150 def protocol ssl? ? 'https://' : 'http://' end