るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.010秒)
トップページ > クエリ:httpserver[x] > クエリ:mount[x] > 種類:ライブラリ[x]

別のキーワード

  1. httpserver mount_proc
  2. webrick/httpserver new
  3. webrick/httpserver mount_proc
  4. httpserver umount

検索結果

webrick (19.0)

汎用HTTPサーバーフレームワークです。HTTPサーバが簡単に作れます。

...require 'webrick'
srv = WEBrick::HTTPServer.new({ :DocumentRoot => './',
:BindAddress => '127.0.0.1',
:Port => 20080})
srv.mount('/view.cgi', WEBrick::HTTPServlet::CGIHandler, 'view.rb')
srv.mount('/foo.html', WEBrick::HTTPServlet...