るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.034秒)
トップページ > クエリ:http[x] > 種類:特異メソッド[x] > クラス:WEBrick::HTTPResponse[x]

別のキーワード

  1. net/http get
  2. http get
  3. http start
  4. net/http start
  5. net/http post

ライブラリ

検索結果

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

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

...
HTTP
Response オブジェクトを生成して返します。

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

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