module Rack
Regexp has `match?` since Ruby 2.4 so to support Ruby < 2.4 we need to define this method
The Rack main module, serving as a namespace for all core Rack modules and classes.
All modules meant for use in your application are autoload
ed
here, so it should be enough just to require 'rack'
in
your code.
Constants
- CACHE_CONTROL
- CONTENT_LENGTH
- CONTENT_TYPE
- DELETE
- ETAG
- EXPIRES
- File
- GET
HTTP method verbs
- HEAD
- HTTPS
- HTTP_COOKIE
- HTTP_HOST
- HTTP_PORT
- HTTP_VERSION
- LINK
- OPTIONS
- PATCH
- PATH_INFO
- POST
- PUT
- QUERY_STRING
- RACK_ERRORS
- RACK_HIJACK
- RACK_HIJACK_IO
- RACK_INPUT
- RACK_IS_HIJACK
- RACK_LOGGER
- RACK_METHODOVERRIDE_ORIGINAL_METHOD
- RACK_MULTIPART_BUFFER_SIZE
- RACK_MULTIPART_TEMPFILE_FACTORY
- RACK_MULTIPROCESS
- RACK_MULTITHREAD
- RACK_RECURSIVE_INCLUDE
- RACK_REQUEST_COOKIE_HASH
- RACK_REQUEST_COOKIE_STRING
- RACK_REQUEST_FORM_HASH
- RACK_REQUEST_FORM_INPUT
- RACK_REQUEST_FORM_VARS
- RACK_REQUEST_QUERY_HASH
- RACK_REQUEST_QUERY_STRING
- RACK_RUNONCE
- RACK_SESSION
- RACK_SESSION_OPTIONS
- RACK_SESSION_UNPACKED_COOKIE_DATA
- RACK_SHOWSTATUS_DETAIL
- RACK_TEMPFILES
- RACK_URL_SCHEME
- RACK_VERSION
Rack environment variables
- RELEASE
- REQUEST_METHOD
- REQUEST_PATH
- SCRIPT_NAME
- SERVER_NAME
- SERVER_PORT
- SERVER_PROTOCOL
- SET_COOKIE
- TRACE
- TRANSFER_ENCODING
- UNLINK
- VERSION
The Rack protocol version number implemented.
Public Class Methods
release()
click to toggle source
Return the Rack release as a dotted string.
# File lib/rack/version.rb, line 25 def self.release RELEASE end
version()
click to toggle source
Return the Rack protocol version as a dotted string.
# File lib/rack/version.rb, line 18 def self.version VERSION.join(".") end