File: //usr/local/rvm/gems/ruby-3.0.2/doc/actionpack-6.1.4.1/ri/ActionDispatch/Http/URL/protocol-i.ri
U:RDoc::AnyMethod[iI"
protocol:ETI"'ActionDispatch::Http::URL#protocol;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JReturns 'https://' if this is an SSL request and 'http://' otherwise.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"Dreq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com'
;TI"!req.protocol # => "http://"
;TI"
;TI"Ureq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com', 'HTTPS' => 'on'
;TI"!req.protocol # => "https://";T:@format0:
@fileI"$lib/action_dispatch/http/url.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"URL;TcRDoc::NormalModule00