File: //usr/local/rvm/gems/default/doc/actionpack-6.1.4.1/ri/ActionDispatch/Http/URL/host_with_port-i.ri
U:RDoc::AnyMethod[iI"host_with_port:ETI"-ActionDispatch::Http::URL#host_with_port;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MReturns a \host:\port string for this request, such as "example.com" or ;TI"K"example.com:8080". Port is only included if it is not a default port ;TI"(80 or 443);To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"Dreq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com'
;TI"+req.host_with_port # => "example.com"
;TI"
;TI"Greq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:80'
;TI"+req.host_with_port # => "example.com"
;TI"
;TI"Ireq = ActionDispatch::Request.new 'HTTP_HOST' => 'example.com:8080'
;TI"/req.host_with_port # => "example.com: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