module Protocol::Rack::Adapter
def self.make_response(env, response)
@parameter response [Array] The Rack response [status, headers, body]
@parameter env [Hash] The Rack environment
Converts a Rack response into a Protocol::HTTP response.
def self.make_response(env, response) IMPLEMENTATION.make_response(env, response) end
def self.new(app)
@parameter app [Interface(:call)] A Rack application that responds to #call
Creates a new adapter instance for the given Rack application.
def self.new(app) IMPLEMENTATION.wrap(app) end
def self.parse_file(...)
@parameter env [Hash] The Rack environment
Parses a file path from the Rack environment.
def self.parse_file(...) IMPLEMENTATION.parse_file(...) end