るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.004秒)
トップページ > 種類:特異メソッド[x] > ライブラリ:webrick/httpresponse[x]

クラス

検索結果

WEBrick::HTTPResponse.new(config) -> WEBrick::HTTPResponse (3.0)

HTTPResponse オブジェクトを生成して返します。

HTTPResponse オブジェクトを生成して返します。

@param config 設定を保存したハッシュを指定します。:HTTPVersion は必須です。

require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )