= private = protected
port()
Returns the port number of this request as an integer.
# File actionpack/lib/action_controller/request.rb, line 200 def port @port_as_int ||= @env['SERVER_PORT'].to_i end