るりまサーチ

最速Rubyリファレンスマニュアル検索!
611件ヒット [601-611件を表示] (0.052秒)
トップページ > クエリ:d[x] > クエリ:Redirect[x]

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. kernel $-d
  4. integer to_d
  5. string to_d

クラス

モジュール

検索結果

<< < ... 5 6 7 >>

OpenURI.open_uri(name, mode = &#39;r&#39;, perm = nil, options = {}) {|sio| ... } -> nil (118.0)

URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。

...l を返します。

require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read

OpenURI.open_uri('http://www.example.com'){|sio| sio.read }

options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :...
...progress_proc
* :content_length_proc
* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されること...
...m',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })

: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emlist{
文字列: "http://prox...
<< < ... 5 6 7 >>