るりまサーチ (Ruby 2.5.0)

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

クラス

検索結果

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

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

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

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

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