File: //usr/local/rvm/gems/default/doc/actionpack-6.1.4.1/ri/ActionDispatch/Http/URL/optional_port-i.ri
U:RDoc::AnyMethod[iI"optional_port:ETI",ActionDispatch::Http::URL#optional_port;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"QReturns a number \port suffix like 8080 if the \port number of this request ;TI"9is not the default HTTP \port 80 or HTTPS \port 443.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"Greq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:80'
;TI" req.optional_port # => nil
;TI"
;TI"Ireq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
;TI" req.optional_port # => 8080;T:@format0:
@fileI"$lib/action_dispatch/http/url.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"URL;TcRDoc::NormalModule00