class Protocol::HTTP::Middleware::Builder
def use(middleware, *arguments, **options, &block)
@parameter options [Hash] The options to pass to the middleware constructor.
@parameter arguments [Array] The arguments to pass to the middleware constructor.
@parameter middleware [Class | Object] The middleware class to use.
Use the given middleware with the given arguments and options.
def use(middleware, *arguments, **options, &block) @use << proc {|app| middleware.new(app, *arguments, **options, &block)} end