# class Rack::Request

`Rack::Request` provides a convenient interface to a `Rack` environment. It is stateless, the environment `env` passed to the constructor will be directly modified.

    req = Rack::Request.new(env)
    req.post?
    req.params["data"]

### Constants

ALLOWED_SCHEMES
SCHEME_WHITELIST

### Attributes

ip_filter[RW]

### Public Class Methods

new(env) click to toggle source
Calls superclass method `Rack::Request::Env::new`

    # File lib/rack/request.rb, line 26
    def initialize(env)
      @params = nil
      super(env)
    end

### Public Instance Methods

delete_param(k) click to toggle source
Calls superclass method `Rack::Request::Helpers#delete_param`

    # File lib/rack/request.rb, line 40
    def delete_param(k)
      v = super
      @params = nil
      v
    end

params() click to toggle source
Calls superclass method `Rack::Request::Helpers#params`

    # File lib/rack/request.rb, line 31
    def params
      @params ||= super
    end

update_param(k, v) click to toggle source
Calls superclass method `Rack::Request::Helpers#update_param`

    # File lib/rack/request.rb, line 35
    def update_param(k, v)
      super
      @params = nil
    end