FalconSourceFalconMiddlewareNotFound

module NotFound

A static middleware which always returns a 404 not found response.

Definitions

def self.call(request)

Handle a request by returning a 404 not found response.

Signature

parameter request Protocol::HTTP::Request

The incoming request.

returns Protocol::HTTP::Response

A 404 not found response.

Implementation

def self.call(request)
	return Protocol::HTTP::Response[404, {}, []]
end

def self.close

Close any resources used by this middleware.

Implementation

def self.close
end