module Rack

Nested Classes and Modules

module Adapter

The Rack adapter provides a bridge between Protocol::HTTP and Rack applications. It automatically selects the appropriate implementation based on the installed Rack version.

module Body

The Body module provides functionality for handling Rack response bodies. It includes methods for wrapping different types of response bodies and handling completion callbacks.

module CGI

CGI environment variable keys as defined in RFC 3875.

class Input

Wraps a streaming input body into the interface required by rack.input.

class Request

A Rack-compatible HTTP request wrapper.

class Response

A Rack-compatible HTTP response wrapper

class Rewindable

Content-type driven input buffering, specific to the needs of rack. This middleware ensures that request bodies for certain content types can be read multiple times, which is required by Rack's specification.

Definitions

PROTOCOL_HTTP_REQUEST = "protocol.http.request"

Used for injecting the raw request into the Rack environment.

RACK_ERRORS = "rack.errors"

Rack environment variable keys.

RACK_IS_HIJACK = "rack.hijack?"

Rack hijack support keys.