1218件ヒット
[1201-1218件を表示]
(0.108秒)
ライブラリ
- ビルトイン (12)
-
net
/ http (312) -
net
/ telnet (6) - open-uri (24)
-
rinda
/ rinda (84) -
rubygems
/ remote _ fetcher (12) - socket (24)
-
webrick
/ httpauth (12) -
webrick
/ httpauth / authenticator (60) -
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httpproxy (24) -
webrick
/ httpstatus (504)
クラス
-
Gem
:: RemoteFetcher (12) -
Net
:: HTTP (276) -
Net
:: Telnet (4) -
Rinda
:: TupleSpaceProxy (72) - Socket (12)
-
WEBrick
:: HTTPProxyServer (12)
モジュール
-
Gem
:: LocalRemoteOptions (12) -
Net
:: HTTPHeader (12) - OpenURI (24)
-
Socket
:: Constants (12) -
WEBrick
:: HTTPAuth (12) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (48) -
WEBrick
:: HTTPStatus (480)
キーワード
- AuthException (12)
- BasicObject (12)
- HTTPProxyAuthenticationRequired (12)
- HTTPProxyServer (12)
- HTTPUseProxy (12)
- InfoField (12)
-
MSG
_ PROXY (24) -
NEWS for Ruby 2
. 0 . 0 (12) - ProxyAuthenticationRequired (12)
- ProxyAuthenticator (12)
- ProxyBasicAuth (12)
- ProxyDigestAuth (12)
-
RC
_ ACCEPTED (12) -
RC
_ BAD _ GATEWAY (12) -
RC
_ BAD _ REQUEST (12) -
RC
_ CONFLICT (12) -
RC
_ CONTINUE (12) -
RC
_ CREATED (12) -
RC
_ EXPECTATION _ FAILED (12) -
RC
_ FORBIDDEN (12) -
RC
_ FOUND (12) -
RC
_ GATEWAY _ TIMEOUT (12) -
RC
_ GONE (12) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (12) -
RC
_ INTERNAL _ SERVER _ ERROR (12) -
RC
_ LENGTH _ REQUIRED (12) -
RC
_ METHOD _ NOT _ ALLOWED (12) -
RC
_ MOVED _ PERMANENTLY (12) -
RC
_ MULTIPLE _ CHOICES (12) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (12) -
RC
_ NOT _ ACCEPTABLE (12) -
RC
_ NOT _ FOUND (12) -
RC
_ NOT _ IMPLEMENTED (12) -
RC
_ NOT _ MODIFIED (12) -
RC
_ NO _ CONTENT (12) -
RC
_ OK (12) -
RC
_ PARTIAL _ CONTENT (12) -
RC
_ PAYMENT _ REQUIRED (12) -
RC
_ PRECONDITION _ FAILED (12) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (12) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (12) -
RC
_ REQUEST _ RANGE _ NOT _ SATISFIABLE (12) -
RC
_ REQUEST _ TIMEOUT (12) -
RC
_ REQUEST _ URI _ TOO _ LARGE (12) -
RC
_ RESET _ CONTENT (12) -
RC
_ SEE _ OTHER (12) -
RC
_ SERVICE _ UNAVAILABLE (12) -
RC
_ SWITCHING _ PROTOCOLS (12) -
RC
_ TEMPORARY _ REDIRECT (12) -
RC
_ UNAUTHORIZED (12) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (12) -
RC
_ USE _ PROXY (12) - RequestField (12)
- ResponseField (12)
- Telnet (2)
- TupleSpaceProxy (12)
- UseProxy (12)
-
add
_ proxy _ option (12) -
get
_ proxy _ from _ env (12) -
net
/ http (12) - new (40)
- notify (12)
-
open
_ uri (24) - proxy? (12)
-
proxy
_ address (24) -
proxy
_ address= (12) -
proxy
_ basic _ auth (24) -
proxy
_ class? (12) -
proxy
_ from _ env= (12) -
proxy
_ from _ env? (12) -
proxy
_ pass (24) -
proxy
_ pass= (12) -
proxy
_ port (24) -
proxy
_ port= (12) -
proxy
_ uri (12) -
proxy
_ user (24) -
proxy
_ user= (12) - proxyaddr (12)
- proxyport (12)
- read (12)
-
read
_ all (12) -
ruby 1
. 8 . 3 feature (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / specification _ command (12) - start (24)
- take (12)
-
webrick
/ httpproxy (12) - write (12)
検索結果
先頭2件
-
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (250.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...る文字列 name のリソースを取得して StringIO オブジェクト
として返します。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返します。......ttp://www.example.com')
p sio.last_modified
puts sio.read
OpenURI.open_uri('http://www.example.com'){|sio| sio.read }
options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
* :content_length_proc
* :http_basic_authent......ication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定しています。
require 'open-uri'
sio = Open... -
NEWS for Ruby 2
. 0 . 0 (12.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ーディングを US-ASCII から UTF-8 に変更しました
* '_' で始まる使用されていない変数は警告しなくなりました
=== 組み込みクラスの更新
* ARGF.class
* 追加: ARGF.class#codepoints, ARGF.class#each_codepoint
IO にある同名のメソッ......* Array#values_at に Range オブジェクトを与えた場合、配列の範囲外のインデックスについては nil を返します
* Enumerable
* 追加: Enumerable#lazy 遅延列挙のためのメソッドです
* Enumerator
* 追加: Enumerator#size サイズを遅......getch キーワード引数 :min, :time を受け付けます。
* io/wait
* 追加: IO#wait_writable
* 追加: IO#wait_readable は IO#wait の別名です。
* json
* 1.7.7 に更新
* net/http
* 新機能
* Proxies are now automatically detected from the http_proxy...