るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.067秒)
トップページ > クエリ:openssl[x] > クエリ:p[x] > クエリ:basic[x] > モジュール:OpenURI[x]

別のキーワード

  1. openssl new
  2. openssl digest
  3. openssl to_der
  4. openssl to_s
  5. openssl hexdigest

ライブラリ

検索結果

OpenURI.open_uri(name, mode = 'r', perm = nil, options = {}) -> StringIO (9291.0)

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

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

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

options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :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」はプログレスバーに
利用されることを想定してい...
...ample.com:8000/"), "proxy-user", "proxy-password"]
//}

: :read_timeout
http コネクションのタイムアウト秒数を指定します。nil でタイムアウトなしを
指定できます。

: :ssl_ca_cert
SSL の CA 証明書を指定します。これを指定した場合は OpenSSL...

OpenURI.open_uri(name, mode = 'r', perm = nil, options = {}) {|sio| ... } -> nil (9291.0)

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

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

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

options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :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」はプログレスバーに
利用されることを想定してい...
...ample.com:8000/"), "proxy-user", "proxy-password"]
//}

: :read_timeout
http コネクションのタイムアウト秒数を指定します。nil でタイムアウトなしを
指定できます。

: :ssl_ca_cert
SSL の CA 証明書を指定します。これを指定した場合は OpenSSL...