1186件ヒット
[1-100件を表示]
(0.026秒)
ライブラリ
-
net
/ http (312) -
net
/ telnet (2) - open-uri (24)
-
rubygems
/ remote _ fetcher (12) - uri (12)
-
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) -
URI
:: Generic (12) -
WEBrick
:: HTTPProxyServer (12)
モジュール
-
Gem
:: LocalRemoteOptions (12) -
Net
:: HTTPHeader (12) - OpenURI (24)
-
WEBrick
:: HTTPAuth (12) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (48) -
WEBrick
:: HTTPStatus (480)
キーワード
- AuthException (12)
- HTTPProxyAuthenticationRequired (12)
- HTTPProxyServer (12)
- HTTPUseProxy (12)
- InfoField (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 5 . 0 (8) - 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)
- UseProxy (12)
-
add
_ proxy _ option (12) - drb (12)
-
find
_ proxy (12) -
get
_ proxy _ from _ env (12) -
net
/ http (12) - new (24)
- open-uri (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)
-
ruby 1
. 8 . 3 feature (12) - rubygems (12)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / specification _ command (12) - start (24)
-
webrick
/ httpproxy (12)
検索結果
先頭5件
-
Net
:: HTTP . Proxy(address , port = 80) -> Class (21265.0) -
Proxy 経由で http サーバに接続するためのクラスを作成し返します。
...
Proxy 経由で http サーバに接続するためのクラスを作成し返します。
このクラスは Net::HTTP を継承しているので Net::HTTP と全く
同じように使えます。指定されたプロクシを常に経由して http サーバ
に接続します。
address が n......il のときは Net::HTTP クラスをそのまま返します。
//emlist[例1: Net::HTTP.new を使う][ruby]{
require 'net/http'
proxy_class = Net::HTTP::Proxy('proxy.example.com', 8080)
http = proxy_class.new('www.example.org')
http.start {|h|
h.get('/ja/') # proxy.example.com 経由で接続......します。
}
//}
//emlist[例2: Net::HTTP.start を使う][ruby]{
require 'net/http'
proxy_class = Net::HTTP::Proxy('proxy.example.com', 8080)
proxy_class.start('www.example.org') {|h|
h.get('/ja/') # proxy.example.com 経由で接続します。
}
//}
@param address プロクシのホスト... -
Net
:: HTTPProxyAuthenticationRequired (12032.0) -
HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
...HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
詳しくは 7235 Section 3.2 を見てください。... -
Net
:: HTTPUseProxy (12032.0) -
HTTP レスポンス 305 (Use Proxy) を表現するクラスです。
...HTTP レスポンス 305 (Use Proxy) を表現するクラスです。
詳しくは 7231 Section 6.4.5 を見てください。... -
WEBrick
:: HTTPProxyServer (12000.0) -
プロクシの機能を提供するクラスです。CONNECT メソッドにも対応しています。
...メソッドにも対応しています。
* https://magazine.rubyist.net/articles/0002/0002-WEBrickProxy.html
以下は完全に動作するプロクシサーバの例です。
require 'webrick'
require 'webrick/httpproxy'
s = WEBrick::HTTPProxyServer.new(Port: 8080)
Signal.trap('INT') do... -
webrick
/ httpproxy (12000.0) -
プロクシの機能を提供するライブラリです。CONNECT メソッドにも対応しています。
プロクシの機能を提供するライブラリです。CONNECT メソッドにも対応しています。 -
Net
:: HTTPHeader # proxy _ basic _ auth(account , password) -> [String] (9157.0) -
Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
...
Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
@param account アカウント名を文字列で与えます。
@param password パスワードを文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html......')
req = Net::HTTP::Get.new(uri.request_uri)
req.proxy_basic_auth("account", "password") # => ["Basic YWNjb3VudDpwYXNzd29yZA=="]
//}... -
Net
:: HTTP # proxy _ address -> String|nil (9147.0) -
プロクシ経由で接続する HTTP オブジェクトならプロクシのアドレス を返します。
...プロクシ経由で接続する HTTP オブジェクトならプロクシのアドレス
を返します。
そうでないなら nil を返します。
proxyaddr は時代遅れのメソッドです。
@see Net::HTTP#proxy_address=, Net::HTTP#proxy_port, Net::HTTP.new... -
Net
:: HTTP # proxy _ pass -> String|nil (9147.0) -
プロクシ経由で接続し、さらにプロクシのユーザ認証を する HTTP オブジェクトなら認証のパスワードを を返します。
...プロクシ経由で接続し、さらにプロクシのユーザ認証を
する HTTP オブジェクトなら認証のパスワードを
を返します。
そうでないなら nil を返します。
@see Net::HTTP#proxy_pass=, Net::HTTP#proxy_user, Net::HTTP.new... -
Net
:: HTTP # proxy _ user -> String|nil (9147.0) -
プロクシ経由で接続し、さらにプロクシのユーザ認証を する HTTP オブジェクトなら認証のユーザ名を を返します。
...プロクシ経由で接続し、さらにプロクシのユーザ認証を
する HTTP オブジェクトなら認証のユーザ名を
を返します。
そうでないなら nil を返します。
@see Net::HTTP#proxy_pass, Net::HTTP#proxy_user=, Net::HTTP.new...