method
key?
v5.2.3 -
Show latest stable
- Class:
ActionDispatch::Request
key?(key)public
Returns true if the request has a header matching the given key parameter.
request.key? :ip_spoofing_check # => true
key?(key)Returns true if the request has a header matching the given key parameter.
request.key? :ip_spoofing_check # => true