るりまサーチ

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

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. open3 capture2e
  4. matrix det_e
  5. matrix rank_e

ライブラリ

検索結果

WEBrick::HTTPResponse#http_version -> WEBrick::HTTPVersion (24415.0)

レスポンスの HTTP のバージョンを表す WEBrick::HTTPVersion オブジェクトを返します。

...ージョンを表す WEBrick::HTTPVersion オブジェクトを返します。

require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
p res.http_version.class #=> WEBrick::HTTPVersion
p res.http_version.to_s...
...#=> "1.1"...

WEBrick::HTTPResponse#request_http_version -> WEBrick::HTTPVersion (12319.0)

リクエストの HTTP バージョンを返します。 デフォルトでは自身の WEBrick::HTTPResponse#http_version が使われます。

...リクエストの HTTP バージョンを返します。
デフォルトでは自身の WEBrick::HTTPResponse#http_version が使われます。...