312件ヒット
[301-312件を表示]
(0.061秒)
ライブラリ
- ビルトイン (12)
-
json
/ add / exception (12) - mkmf (48)
-
net
/ http (24) - pathname (24)
- rake (12)
-
rexml
/ document (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ source _ info _ cache (12) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (12) - uri (12)
クラス
- Exception (24)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: GemPathSearcher (12) -
Gem
:: RemoteFetcher (36) -
Gem
:: SourceInfoCache (12) -
Net
:: HTTPResponse (24) - Pathname (24)
-
REXML
:: Element (12) - Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) - String (12)
-
URI
:: Generic (12) -
WEBrick
:: Cookie (24)
モジュール
- Kernel (48)
キーワード
-
dir
_ config (12) -
fetch
_ path (12) -
find
_ executable (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) - libpathflag (12)
-
link
_ command (12) -
matching
_ files (12) -
open
_ uri _ or _ path (12) - path= (12)
-
pathmap
_ replace (12) -
read
_ body (24) - readlink (18)
- select (12)
-
set
_ backtrace (12) -
spec
_ path (12) - split (18)
- sub (24)
- text (12)
-
to
_ json (12) -
try
_ file (12)
検索結果
-
Net
:: HTTPResponse # read _ body {|str| . . . . } -> () (26.0) -
ブロックを与えなかった場合にはエンティティボディを 文字列で返します。 ブロックを与えた場合には エンティティボディを少しずつ取得して順次ブロックに 文字列で与えます。
...p://www.example.com/path/to/big.file')
Net::HTTP.start(uri.host, uri.port) do |http|
File.open("/path/to/big.file", "w") do |f|
# Net::HTTP#request_get と Net::HTTPResponse#read_body で少しずつ読み書き。メモリ消費が少ない。
http.request_get(uri.path) do |response|......い。
dest は obsolete です。使わないでください。
dest を指定した場合には
ボディを少しずつ取得して順次
「dest << ボディの断片」を実行します。
@param dest obsoleteな引数です。利用しないでください。
@see Net::HTTP#request_get...