るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.012秒)

別のキーワード

  1. httpheader fetch
  2. httpheader set_range
  3. httpheader range=
  4. httpheader method
  5. httpheader key?

ライブラリ

モジュール

検索結果

Net::HTTPHeader#method -> String (21108.0)

リクエストの HTTP メソッドを文字列で返します。

...リクエストの HTTP メソッドを文字列で返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.method # => "GET"
//}...