method

port=

port=(number)
public

No documentation available.

# File actionpack/lib/action_dispatch/testing/test_request.rb, line 32
    def port=(number)
      set_header('SERVER_PORT', number.to_i)
    end