instance method
server_port
Ruby on Rails 5.0.7.2
Since v3.0.20Signature
server_port()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/url.rb, line 350
def server_port
get_header('SERVER_PORT').to_i
end
Defined in actionpack/lib/action_dispatch/http/url.rb line 350
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::URL