ä»åã¯Rack::URLMapã¨ããã«ã¦ã§ã¢ã«ã¤ãã¦è¦ã¦ããããã¨æãã¾ãã Rack::URLMap Rack::URLMapã使ããã¨ã«ãã£ã¦ç°¡åã«URLã®ãã¹ã¨Rackã¢ããªã±ã¼ã·ã§ã³ãçµã³ã¤ãããã¨ãåºæ¥ã¾ãã Rack::URLMapã«ã¯callã¡ã½ãããããã®ã§ä»¥ä¸ã®ããã«åãããã¨ãåºæ¥ã¾ãã ã¡ãªã¿ã«åå使ã£ãsimple.rbãrequireãã¦ä½¿ã£ã¦ã¾ãã rackupã³ãã³ãã使ã£ã¦ä¸ã®ããã°ã©ã ãèµ·åãã¦ã¿ã¦ãã ããã require 'rack' require 'rack/lobster' require 'simple' run Rack::URLMap.new( '/' => Simple.new, '/lobster' => Rack::Lobster.new ) http://localhost:9292/ã¨http://localhost:9292
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}