るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
10件ヒット [1-10件を表示] (0.079秒)
トップページ > クエリ:-[x] > クエリ:on[x] > クエリ:VERSION[x] > クラス:Net::HTTP[x] > バージョン:2.5.0[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

キーワード

検索結果

Net::HTTP.is_version_1_1? -> false (36946.0)

何もしません。互換性のために残されており、常に false を返します。

...何もしません。互換性のために残されており、常に false を返します。

@see Net::HTTP.version_1_2, Net::HTTP.version_1_2?...

Net::HTTP.is_version_1_2? -> true (36946.0)

何もしません。互換性のために残されており、常に true を返します。

...何もしません。互換性のために残されており、常に true を返します。

@see Net::HTTP.version_1_2, Net::HTTP.version_1_1?...

Net::HTTP.version_1_1? -> false (36946.0)

何もしません。互換性のために残されており、常に false を返します。

...何もしません。互換性のために残されており、常に false を返します。

@see Net::HTTP.version_1_2, Net::HTTP.version_1_2?...

Net::HTTP.version_1_2? -> true (36946.0)

何もしません。互換性のために残されており、常に true を返します。

...何もしません。互換性のために残されており、常に true を返します。

@see Net::HTTP.version_1_2, Net::HTTP.version_1_1?...

Net::HTTP.version_1_2 -> true (36943.0)

何もしません。互換性のために残されており、常に true を返します。

...何もしません。互換性のために残されており、常に true を返します。

@see Net::HTTP.version_1_1?, Net::HTTP.version_1_2?...

絞り込み条件を変える

Net::HTTP#ssl_version -> String | Symbol | nil (36925.0)

利用するプロトコルの種類を返します。

...利用するプロトコルの種類を返します。

@see Net::HTTP#ssl_version=...

Net::HTTP#post(path, data, header = nil, dest = nil) -> Net::HTTPResponse (784.0)

サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。

...サーバ上の path にあるエンティティに対し文字列 data を
POST で送ります。

返り値は Net::HTTPResponse のインスタンスです。

ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え...
....rb', 'query=subject&target=ruby')

# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')

# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&target=ruby') do |str|
f.write str
end
}
//}

@see Net::HTTP#request_post...

Net::HTTP#post(path, data, header = nil, dest = nil) {|body_segment| .... } -> Net::HTTPResponse (784.0)

サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。

...サーバ上の path にあるエンティティに対し文字列 data を
POST で送ります。

返り値は Net::HTTPResponse のインスタンスです。

ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え...
....rb', 'query=subject&target=ruby')

# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')

# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&target=ruby') do |str|
f.write str
end
}
//}

@see Net::HTTP#request_post...

Net::HTTP#get(path, header = nil, dest = nil) -> Net::HTTPResponse (658.0)

サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。

...サーバ上の path にあるエンティティを取得し、
Net::HTTP
Response のインスタンスとして返します。

header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... } という...
...呼びだされたときは
エンティティボディを少しずつ文字列として
ブロックに与えます。このとき戻り値の
Net::HTTP
Response オブジェクトは有効な body を
持ちません。

dest は時代遅れの引数です。利用しないでください。
dest...
....html' )

# net/http version 1.2
response = http.get('/index.html')

# compatible in both version
response , = http.get('/index.html')
response.body

# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/', nil) do |str|
f.write str
end
}
//}

@see Net::HTTP#request_get...

Net::HTTP#get(path, header = nil, dest = nil) {|body_segment| .... } -> Net::HTTPResponse (658.0)

サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。

...サーバ上の path にあるエンティティを取得し、
Net::HTTP
Response のインスタンスとして返します。

header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... } という...
...呼びだされたときは
エンティティボディを少しずつ文字列として
ブロックに与えます。このとき戻り値の
Net::HTTP
Response オブジェクトは有効な body を
持ちません。

dest は時代遅れの引数です。利用しないでください。
dest...
....html' )

# net/http version 1.2
response = http.get('/index.html')

# compatible in both version
response , = http.get('/index.html')
response.body

# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/', nil) do |str|
f.write str
end
}
//}

@see Net::HTTP#request_get...

絞り込み条件を変える